Profile Picture Display Method and Terminal

ABSTRACT

A method includes: receiving, by a first terminal, first input, where the first input is used to instruct the first terminal to display a first screen that includes a profile picture of a first user, and the first user is an owner of the first terminal or a contact saved on the first terminal; and searching, by the first terminal in response to the first input, for a profile picture of the first user and that corresponds to current scenario information of the first user; and displaying, by the first terminal in response to the first input, the first screen that includes a first profile picture.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a National Stage of International Application No.PCT/CN2017/100956, filed on Sep. 7, 2017, which is hereby incorporatedby reference in its entirety.

TECHNICAL FIELD

This application relates to the field of communications technologies,and in particular, to a profile picture display method and a terminal.

BACKGROUND

With development of electronic technologies, smart terminals (such as asmartphone or a tablet computer) have increasingly powerful functions,and users are becoming more dependent on their mobile phones in dailylives. For example, a contact screen of contacts on a mobile phone, avoice call screen of the mobile phone (including a screen for making anoutgoing call from the mobile phone to another mobile phone, an incomingcall screen of the mobile phone, and a screen for performing a voicecall on the mobile phone), an SMS message screen, and the like candisplay a profile picture that is set by a user and that corresponds toa contact.

SUMMARY

This application provides a profile picture display method and aterminal, to dynamically refresh a profile picture of a contact on acontact screen, an SMS message screen, or a voice call screen.

According to a first aspect, this application provides a profile picturedisplay method. The method includes: receiving, by a first terminal,first input, where the first input is used to instruct the firstterminal to display a first screen that includes a profile picture of afirst user, and the first user is an owner of the first terminal or acontact saved on the first terminal; and displaying, by the firstterminal in response to the first input, the first screen that includesa first profile picture, where the first profile picture is a profilepicture that is in the profile picture of the first user and thatcorresponds to current scenario information of the first user. Thecurrent scenario information of the first user includes at least one ofcurrent time information, current address information, and currentstatus information of the first user. The current status information ofthe first user includes at least one of current motion information andcurrent emotion information of the first user. The first screen is anyone of a contact screen, an SMS message screen, or a voice call screen.

In this application, when the first terminal displays, in response tothe first input, the first screen that includes the profile picture ofthe first user (in other words, dynamically refreshes the contactscreen, the SMS message screen, or the voice call screen), the firstterminal may display, on the first screen, the profile picture that isin a plurality of profile pictures of the first user and thatcorresponds to the current scenario information of the first user. Inother words, the first terminal may dynamically refresh a profilepicture of the contact on the contact screen, the SMS message screen, orthe voice call screen.

In a possible design method, the first terminal may save at least twoprofile pictures of the first user and scenario informationcorresponding to each profile picture. The first profile picture is oneof the at least two profile pictures. In other words, the first terminalmay save a plurality of profile pictures of the owner and scenarioinformation corresponding to each profile picture in the plurality ofprofile pictures. The first terminal may save a plurality of profilepictures of each contact on the first terminal and scenario informationcorresponding to each of the plurality of profile pictures.

The first terminal saves the plurality of profile pictures of the firstuser and scenario information corresponding to each profile picture.Therefore, when displaying the first screen, the first terminal mayselect, from the plurality of profile pictures of the first user, theprofile picture corresponding to the current scenario information. Inother words, the first terminal may dynamically refresh the profilepicture of the contact on the contact screen, the SMS message screen, orthe voice call screen.

In another possible design method, the at least two profile pictures ofthe first user and the scenario information corresponding to eachprofile picture may be information that is set by the user and that isreceived by the first terminal on a second screen (namely, a profilepicture setting screen). Specifically, before the “receiving, by a firstterminal, first input”, the method in this application further includes:displaying, by the first terminal, a second screen, where the secondscreen includes a profile picture selection option and at least onescenario setting option of the first user, the profile picture selectionoption is used to set a profile picture for the first user, and the atleast one scenario setting option is used to set scenario informationcorresponding to the profile picture set for the first user; and inresponse to input of a user for the profile picture selection option andthe at least one scenario setting option, saving, by the first terminal,the profile picture set for the first user and the scenario informationcorresponding to the profile picture set for the first user.

In this application, the first terminal may provide, for the user, theprofile picture setting screen (namely, the second screen) used to set“the at least two profile pictures of the first user and the scenarioinformation corresponding to each profile picture.” In this way, theuser may set, on the second screen based on a habit, a preference, oranother requirement, profile pictures displayed on different scenariosfor the user or a contact.

In another possible design method, the first screen is a voice callscreen used by the first terminal to perform voice communication with asecond terminal, and the first profile picture is a profile picture ofan owner of the second terminal. In a process in which the firstterminal performs voice communication with the second terminal on thevoice call screen, the first terminal may further receive a profilepicture shared by the second terminal. Specifically, after the“displaying, by the first terminal in response to the first input, thefirst screen that includes a first profile picture”, the method in thisapplication further includes: receiving, by the first terminal, a secondprofile picture of the owner of the second terminal that is sent by thesecond terminal; and displaying, by the first terminal in response toreceiving the second profile picture of the owner of the secondterminal, the first screen that includes the second profile picture.

In this application, in the process in which the first terminal performsvoice communication with the second terminal, the first terminal may notonly refresh the profile picture (namely, the profile picture of theowner of the second terminal) displayed on the voice call screen of thefirst terminal in real time based on the current scenario information,but also receive and display the profile picture pushed by the secondterminal.

In another possible design method, after receiving the second profilepicture sent by the second terminal, the first terminal may notimmediately display the first screen that includes the second profilepicture, but display a third screen that includes first promptinformation, so that the user selects whether to set the second profilepicture as a profile picture of a first contact.

Specifically, the displaying, by the first terminal in response toreceiving the second profile picture of the owner of the secondterminal, the first screen that includes the second profile pictureincludes: displaying, by the first terminal in response to receiving thesecond profile picture, the third screen that includes the first promptinformation, where the first prompt information is used to prompt theuser whether to set the second profile picture as the profile picture ofthe owner of the second terminal; and displaying, by the first terminalin response to second input of the user for the first prompt informationon the third screen, the first screen that includes the second profilepicture, where the second input is used to instruct the first terminalto refresh the first profile picture to the second profile picture.

After the first terminal receives the second profile picture pushed bythe second terminal, the owner of the first terminal may not want toswitch the profile picture of the owner of the second terminal from thefirst profile picture to the second profile picture. Based on suchconsideration, in this application, after receiving the second profilepicture pushed by the second terminal, the first terminal may determine,according to selection of the user, whether to switch the profilepicture of the owner of the second terminal. In this way, the profilepicture of the owner of the second terminal displayed on the firstterminal better suits preference of the owner of the first terminal, andthis improves user experience.

In another possible design method, the first screen is a voice callscreen used by the first terminal to perform voice communication with atleast one second terminal, and the first profile picture may be aprofile picture of an owner of the second terminal. In other words, thefirst user may include the owner of the second terminal that performsvoice communication with the first terminal.

Optionally, the first screen is a voice call screen used by the firstterminal to perform voice communication with a second terminal, and thefirst profile picture included by the first screen is a profile pictureof an owner of the second terminal.

Optionally, the first screen is a voice call screen used by the firstterminal to perform voice communication with a plurality of secondterminals (namely, at least two second terminals). The first profilepicture included by the first screen includes profile pictures of ownersof all the second terminals in the plurality of second terminals.Alternatively, the first profile picture included by the first screen isa profile picture of a preset owner in owners of the plurality of secondterminals.

In this design method, in a process in which the first terminal displaysthe first screen (namely, the voice call screen used by the firstterminal to perform voice communication with the second terminal), thefirst terminal may further share the profile picture of the owner of thefirst terminal with the second terminal.

Optionally, in a process in which the first terminal performs voicecommunication with the at least one second terminal, the profile picturesent by the first terminal to the second terminal is a profile picturethat is in the profile picture of the owner of the first terminal andthat corresponds to the current scenario information of the owner of thefirst terminal. Specifically, after the “displaying, by the firstterminal in response to the first input, the first screen that includesa first profile picture”, the method in this application furtherincludes: sending, by the first terminal to the second terminal inresponse to third input of the user on the first screen, the profilepicture that is in the profile picture of the owner of the firstterminal and that corresponds to the current scenario information of theowner of the first terminal.

In a process in which the first terminal performs a voice call with theat least one second terminal, the profile picture sent by the firstterminal to each second terminal is “the profile picture that is in theprofile picture of the owner of the first terminal and corresponds tothe current scenario information of the owner of the first terminal”,and is a same profile picture. In other words, each second terminal mayreceive the same profile picture sent by the first terminal.

Optionally, in the process in which the first terminal performs voicecommunication with the at least one second terminal, the first terminalmay send a different profile picture to each second terminal.Specifically, the current scenario information of the first userincludes at least one of the current time information and the currentaddress information of the first user. After the “displaying, by thefirst terminal in response to the first input, the first screen thatincludes a first profile picture”, the method in this applicationfurther includes: sending, by the first terminal to the second terminalin response to third input of the user on the first screen, a profilepicture that is in the profile picture of the owner of the firstterminal and that corresponds to current scenario information of theowner of the second terminal.

The profile picture sent by the first terminal to the second terminal isusually viewed by the owner of the second terminal. The second terminalsends, to each second terminal, the profile picture corresponding to thecurrent scenario information of the owner of the second terminal.Therefore, this can better suit preference of the owner of the secondterminal, and improve user experience.

According to the profile picture display method provided in thisapplication, in the process in which the first terminal performs voicecommunication with the second terminal, the first terminal may receivethe second profile picture sent by the second terminal, and send theprofile picture of the owner of the first terminal to the secondterminal. In other words, the first terminal and the second terminal mayshare their respective profile pictures in the voice communicationprocess in this application.

In another possible design method, the current scenario information ofthe first user includes the current time information and the currentaddress information of the first user. The time information includesspecific time information, day time information, month time information,and year time information. The specific time information includes atleast a special date, a holiday, and a solar term that are set by theuser, and a priority of the specific time information is D1. The daytime information includes a plurality of fixed periods of one day, and apriority of the day time information is D2. The month time informationincludes a plurality of fixed periods of one month, and a priority ofthe month time information is D3. The year time information includes atleast each month and each quarter of one year, and a priority of theyear time information is D4. D1>D2>D3>D4. The address informationincludes at least two levels of address range information, andpriorities of the at least two levels of address range informationdecrease in ascending order of address ranges. The “displaying, by thefirst terminal in response to the first input, the first screen thatincludes a first profile picture” includes: in response to the firstinput, sequentially searching, by the first terminal in descending orderof priorities of the time information and the address information, forthe first profile picture that is in the profile picture of the firstuser and that corresponds to the current scenario information, anddisplaying the first screen that includes the first profile pictureafter finding the first profile picture for the first time.

In this application, in response to the first input, the first terminalmay sequentially match, in descending order of the priorities of thetime information and the address information, for the first profilepicture that is in the profile picture of the first user and thatcorresponds to the current scenario information, and display the firstscreen that includes the first profile picture. The time information isused as an example. A higher priority of the time information indicatesa smaller time range of the time information. Therefore, the firstterminal may first search, in descending order of the priorities of thetime information, for the first profile picture corresponding to timeinformation with a high priority, in other words, the first profilepicture corresponding to time information with a relatively small timerange. In this way, the first terminal may quickly find the firstprofile picture corresponding to the small time range without reducing alarge time range level by level.

In another possible design method, the time information may beclassified into the time information with a plurality of priorities, theaddress information includes the at least two levels of address rangeinformation, and the time information and the address information mayalso have priorities. This can avoid a case in which the first terminalcannot normally obtain the first profile picture when current timeinformation and current address information of the terminal located at atime point and in a location correspond to different profile pictures.

Specifically, in response to the first input, the sequentiallysearching, by the first terminal in descending order of priorities ofthe time information and the address information, for the first profilepicture that is in the profile picture of the first user and thatcorresponds to the current scenario information, and displaying thefirst screen that includes the first profile picture after finding thefirst profile picture for the first time includes: in response to thefirst input, when the priority of the time information is higher thanthe priority of the address information, sequentially searching, by thefirst terminal in descending order of the priorities of the timeinformation, for the first profile picture that is in the profilepicture of the first user and that corresponds to the current timeinformation, and displaying the first screen that includes the firstprofile picture after finding the first profile picture for the firsttime; and when the priority of the address information is higher thanthe priority of the time information, sequentially searching, by thefirst terminal in descending order of the priorities of the addressinformation, for the first profile picture that is in the profilepicture of the first user and that corresponds to the current addressinformation, and displaying the first screen that includes the firstprofile picture after finding the first profile picture for the firsttime.

In this application, before searching for the first profile picture indescending order of the priorities of the time information and theaddress information, the first terminal may first determine thepriorities of the time information and the address information, andsearch for the first profile picture based on information with a higherpriority (the time information or the address information) in thepriorities arranged in descending order. This can avoid a case in whichthe first terminal cannot normally obtain the first profile picture whencurrent time information and current address information of the terminallocated at a time point and in a location correspond to differentprofile pictures.

In another possible design method, in the process in which the firstterminal performs voice communication with the second terminal, thecurrent scenario information of the first terminal or the secondterminal may change. The change in the scenario information herein inthis application relates to changes in the time information, the addressinformation, and the motion information or the emotion information.Specifically, after the “displaying, by the first terminal in responseto the first input, the first screen that includes a first profilepicture”, the method in this application further includes: displaying,by the first terminal after detecting that the current scenarioinformation of the first user changes, the first screen that includes athird profile picture, where the third profile picture is a profilepicture that is in the profile picture of the first user and thatcorresponds to changed scenario information. In this application, thefirst profile picture displayed on the first screen may dynamicallychange as the current scenario information changes. In other words, thefirst terminal may dynamically refresh the profile picture of thecontact on the contact screen, the SMS message screen, or the voice callscreen.

In another possible design method, the first profile picture on thevoice call screen used by the first terminal to perform voicecommunication with the at least two second terminals is the profilepicture of the owner of the second terminal.

To avoid a case in which when the first terminal detects that thecurrent scenario information of the first user changes and the firstterminal receives the second profile picture sent by the secondterminal, the first terminal cannot determine that the first terminalneeds to display “a profile picture corresponding to changed scenarioinformation”, or display “the second profile picture pushed by thesecond terminal”, the first terminal may set that in the voicecommunication process, a priority of a profile picture pushed by a peerend is higher than a priority of the profile picture corresponding tothe changed scenario information in this application. Specifically,after the “displaying, by the first terminal in response to the firstinput, the first screen that includes a first profile picture”, themethod in this application further includes: after detecting, by thefirst terminal, that the current scenario information of the first userchanges, and receiving, by the first terminal, the second profilepicture of the owner of the second terminal that is sent by the secondterminal, displaying, by the first terminal in response to receiving thesecond profile picture of the owner of the second terminal, the firstscreen that includes the second profile picture.

According to a second aspect, this application provides a terminal. Theterminal is the first terminal in the first aspect and any possibledesign method of the first aspect, and the terminal includes an inputunit and a display unit. The input unit is configured to receive firstinput, where the first input is used to instruct the first terminal todisplay a first screen that includes a profile picture of a first user,and the first user is an owner of the first terminal or a contact savedon the first terminal. The display unit is configured to display, inresponse to the first input, the first screen that includes a firstprofile picture, where the first profile picture is a profile picturethat is in the profile picture of the first user and that corresponds tocurrent scenario information of the first user; the current scenarioinformation of the first user includes at least one of current timeinformation, current address information, and current status informationof the first user; the current status information of the first userincludes at least one of current motion information and current emotioninformation of the first user; and the first screen is any one of acontact screen, an SMS message screen, or a voice call screen.

In a possible design method, the terminal further includes a storageunit. The storage unit is configured to save at least two profilepictures of the first user and scenario information corresponding toeach profile picture, and the first profile picture is one of the atleast two profile pictures.

In another possible design method, the display unit is furtherconfigured to display, before the input unit receives the first input, asecond screen, where the second screen includes a profile pictureselection option and at least one scenario setting option of the firstuser, the profile picture selection option is used to set a profilepicture for the first user, and the at least one scenario setting optionis used to set scenario information corresponding to the profile pictureset for the first user. The storage unit is further configured to: inresponse to input of a user for the profile picture selection option andthe at least one scenario setting option that are displayed by thedisplay unit, save the profile picture set for the first user and thescenario information corresponding to the profile picture set for thefirst user.

In another possible design method, the terminal further includes a firstcommunications unit and a second communications unit. The firstcommunications unit is configured to perform voice communication with asecond terminal. The first screen displayed by the display unit is avoice call screen used by the first communications unit to perform voicecommunication with the second terminal, and the first profile picture isa profile picture of an owner of the second terminal. The secondcommunications unit is configured to: after the display unit displays,in response to the first input, the first screen that includes the firstprofile picture, receive a second profile picture of the owner of thesecond terminal that is sent by the second terminal. The display unit isfurther configured to: in response to receiving, by the secondcommunications unit, the second profile picture of the owner of thesecond terminal, display the first screen that includes the secondprofile picture.

In another possible design method, the display unit is furtherconfigured to: in response to receiving, by the second communicationsunit, the second profile picture, display a third screen that includesfirst prompt information, where the first prompt information is used toprompt the user whether to set the second profile picture as the profilepicture of the owner of the second terminal; and in response to secondinput of the user for the first prompt information on the third screen,display the first screen that includes the second profile picture, wherethe second input is used to instruct the first terminal to refresh thefirst profile picture to the second profile picture.

In another possible design method, the first screen displayed by thedisplay unit is a voice call screen used by the first communicationsunit of the first terminal to perform voice communication with at leastone second terminal, and the first profile picture includes a profilepicture of an owner of the second terminal that performs voicecommunication with the first terminal. The second communications unit isconfigured to: after the display unit displays, in response to the firstinput, the first screen that includes the first profile picture, send,to the second terminal in response to third input of the user on thefirst screen displayed by the display unit, a profile picture that is inthe profile picture of the owner of the first terminal and thatcorresponds to current scenario information of the owner of the firstterminal.

In another possible design method, the first screen displayed by thedisplay unit is a voice call screen used by the first communicationsunit of the first terminal to perform voice communication with at leastone second terminal, the first profile picture includes a profilepicture of an owner of the second terminal that performs voicecommunication with the first terminal, and the current scenarioinformation of the first user includes at least one of the current timeinformation and the current address information of the first user. Thesecond communications unit is configured to: after the display unitdisplays, in response to the first input, the first screen that includesthe first profile picture, send, to the second terminal in response tothird input of the user on the first screen displayed by the displayunit, a profile picture that is in the profile picture of the owner ofthe first terminal and that corresponds to current scenario informationof the owner of the second terminal.

In another possible design method, the current scenario information ofthe first user includes the current time information and the currentaddress information of the first user. For a priority classificationmanner of the time information and the address information in the secondaspect of this application, refer to detailed descriptions in thepossible design method in the first aspect. Details are not describedherein again. That the display unit, configured to display, in responseto the first input, the first screen that includes the first profilepicture includes: the display unit is configured to: in response to thefirst input, sequentially search, in descending order of priorities ofthe time information and the address information, for the first profilepicture that is in the profile picture of the first user and thatcorresponds to the current scenario information, and display the firstscreen that includes the first profile picture after finding the firstprofile picture for the first time.

In another possible design method, the display unit is specificallyconfigured to: in response to the first input, when the priority of thetime information is higher than the priority of the address information,sequentially search, in descending order of the priorities of the timeinformation, for the first profile picture that is in the profilepicture of the first user and that corresponds to the current timeinformation, and display the first screen that includes the firstprofile picture after finding the first profile picture for the firsttime; and when the priority of the address information is higher thanthe priority of the time information, sequentially search, in descendingorder of the priorities of the address information, for the firstprofile picture that is in the profile picture of the first user andthat corresponds to the current address information, and display thefirst screen that includes the first profile picture after finding thefirst profile picture for the first time.

In another possible design method, the first screen displayed by thedisplay unit is a voice call screen used by the first communicationsunit of the first terminal to perform voice communication with at leasttwo second terminals, and the first profile picture is a profile pictureof a preset owner in owners of the at least two second terminals.

In another possible design method, the display unit is furtherconfigured to: after displaying, in response to the first input, thefirst screen that includes the first profile picture, and afterdetecting that the current scenario information of the first userchanges, display the first screen that includes a third profile picture,where the third profile picture is a profile picture that is in theprofile picture of the first user and that corresponds to changedscenario information.

In another possible design method, the first screen is the voice callscreen used by the first terminal to perform voice communication withthe at least two second terminals, and the first profile picture is aprofile picture of an owner of the second terminal; after thedisplaying, by the first terminal in response to the first input, thefirst screen that includes a first profile picture, the method furtherincludes: after detecting, by the first terminal, that the currentscenario information of the first user changes, and receiving, by thefirst terminal, a second profile picture of the owner of the secondterminal that is sent by the second terminal, displaying, by the firstterminal in response to receiving the second profile picture of theowner of the second terminal, the first screen that includes the secondprofile picture.

According to a third aspect, this application provides a graphical userinterface (Graphical User Interface, GUI). The GUI is saved on aterminal; the terminal includes a touchscreen, a memory, a processor,and a communications interface. The processor is configured to executeone or more computer programs saved in the memory. The GUI includes:displaying on the touchscreen, in response to first input, a firstscreen that includes a first profile picture, where the first input isused to instruct the first terminal to display the first screen thatincludes a profile picture of a first user; the first user is an ownerof the first terminal or a contact saved on the first terminal; thefirst profile picture is a profile picture that is in the profilepicture of the first user and that corresponds to current scenarioinformation of the first user; the current scenario information of thefirst user includes at least one of current time information, currentaddress information, and current status information of the first user;the current status information of the first user includes at least oneof current motion information and current emotion information of thefirst user; and the first screen is any one of a contact screen, an SMSmessage screen, or a voice call screen.

In a possible design method, the GUI further includes: before displayingthe first screen on the touchscreen, displaying a second screen on thetouchscreen, where the second screen includes a profile pictureselection option and at least one scenario setting option of the firstuser, the profile picture selection option is used to set a profilepicture for the first user, and the at least one scenario setting optionis used to set scenario information corresponding to the profile pictureset for the first user.

In another possible design method, the first screen is a voice callscreen used by the communications interface to perform voicecommunication with a second terminal, and the first profile picture is aprofile picture of an owner of the second terminal; and the GUI furtherincludes: after displaying the first screen on the touchscreen,displaying on the touchscreen, in response to receiving a second profilepicture of the owner of the second terminal, the first screen thatincludes the second profile picture.

In another possible design method, the GUI further includes: displayingon the touchscreen, in response to receiving the second profile picture,a third screen that includes first prompt information, where the firstprompt information is used to prompt a user whether to set the secondprofile picture as the profile picture of the owner of the secondterminal; and displaying on the touchscreen, in response to second inputfor the first prompt information on the third screen, the first screenthat includes the second profile picture, where the second input is usedto instruct the first terminal to refresh the first profile picture tothe second profile picture.

In another possible design method, the first screen is a voice callscreen used by the communications interface to perform voicecommunication with at least two second terminals, and the first profilepicture is a profile picture of a preset owner in owners of the at leasttwo second terminals.

In another possible design method, the GUI further includes: afterdisplaying, on the touchscreen, the first screen that includes the firstprofile picture, if the processor detects that the current scenarioinformation of the first user changes, displaying, on the touchscreen,the first screen that includes a third profile picture, where the thirdprofile picture is a profile picture that is in the profile picture ofthe first user and that corresponds to changed scenario information.

In another possible design method, the first screen is the voice callscreen used by the communications interface to perform voicecommunication with the at least two second terminals, the first profilepicture is a profile picture of an owner of the second terminal, and theGUI further includes: after displaying, on the touchscreen, the firstscreen that includes the first profile picture, if the processor detectsthat the current scenario information of the first user changes, and thecommunications interface receives the second profile picture of theowner of the second terminal that is sent by the second terminal,displaying, on the touchscreen, in response to receiving, by thecommunications interface, the second profile picture of the owner of thesecond terminal, the first screen that includes the second profilepicture.

According to a fourth aspect, this application provides a terminal. Theterminal is the first terminal according to the first aspect or any oneof the possible design methods of the first aspect. The terminalincludes a processor, a memory, a touchscreen, and a communicationsinterface. The memory, the touchscreen, and the communications interfaceare coupled to the processor. The memory is configured to store computerprogram code. The computer program code includes a computer instruction.When the processor executes the computer instruction, the terminalperforms the profile picture display method according to the firstaspect and any one of the possible design methods of the first aspect inthis application. The communications interface is configured tocommunicate with another terminal. Specifically, the processor isconfigured to receive first input, where the first input is used toinstruct the touchscreen to display a first screen that includes aprofile picture of a first user, and the first user is an owner of thefirst terminal or a contact saved on the memory; and the touchscreen isconfigured to display, in response to the first input received by theprocessor, the first screen that includes a first profile picture, wherethe first profile picture is a profile picture that is in the profilepicture of the first user and that corresponds to current scenarioinformation of the first user; the current scenario information of thefirst user includes at least one of current time information, currentaddress information, and current status information of the first user;the current status information of the first user includes at least oneof current motion information and current emotion information of thefirst user; and the first screen is any one of a contact screen, an SMSmessage screen, or a voice call screen. Optionally, the processor mayreceive the first input of a user on the touchscreen.

In a possible design method, the memory is further configured to save atleast two profile pictures of the first user and scenario informationcorresponding to each profile picture, and the first profile picture isone of the at least two profile pictures.

In another possible design method, the touchscreen is further configuredto: before the processor receives the first input, display a secondscreen, where the second screen includes a profile picture selectionoption and at least one scenario setting option of the first user, theprofile picture selection option is used to set a profile picture forthe first user, and the at least one scenario setting option is used toset scenario information corresponding to the profile picture set forthe first user; and the memory is further configured to: in response toinput of the user for the profile picture selection option and the atleast one scenario setting option, save the profile picture set for thefirst user and the scenario information corresponding to the profilepicture set for the first user.

In another possible design method, the first screen displayed on thetouchscreen is a voice call screen used by the communications interfaceto perform voice communication with a second terminal, and the firstprofile picture is a profile picture of an owner of the second terminal.In this case, the communications interface may be a radio frequency(Radio Frequency, RF) circuit of the terminal. The communicationsinterface (for example, a wireless fidelity (Wireless Fidelity, Wi-Fi)module or a Bluetooth module of the terminal) may be configured toreceive, in a process of displaying the first screen on the touchscreen,a second profile picture of the owner of the second terminal that issent by the second terminal. The touchscreen is further configured to:in response to receiving, by the communications interface (for example,the Wi-Fi module or the Bluetooth module of the terminal), the secondprofile picture of the owner of the second terminal, display the firstscreen that includes the second profile picture.

In another possible design method, the touchscreen is further configuredto: in response to receiving, by the communications interface, thesecond profile picture, display a third screen that includes firstprompt information, where the first prompt information is used to promptthe user whether to set the second profile picture as the profilepicture of the owner of the second terminal; and in response to secondinput of the user for the first prompt information on the third screen,display the first screen that includes the second profile picture, wherethe second input is used to instruct the first terminal to refresh thefirst profile picture to the second profile picture.

In another possible design method, the first screen displayed on thetouchscreen is a voice call screen used by the communications interfaceto perform voice communication with at least one second terminal, andthe first profile picture includes a profile picture of an owner of thesecond terminal that performs voice communication with the firstterminal. The communications interface is further configured to: afterthe touchscreen displays, in response to the first input, the firstscreen that includes the first profile picture, send, to the secondterminal in response to third input of the user on the first screen, aprofile picture that is in the profile picture of the owner of the firstterminal and that corresponds to current scenario information of theowner of the first terminal.

In another possible design method, the first screen displayed on thetouchscreen is a voice call screen used by the communications interfaceto perform voice communication with at least one second terminal, thefirst profile picture includes a profile picture of an owner of thesecond terminal that performs voice communication with the firstterminal, and the current scenario information of the first userincludes at least one of the current time information and the currentaddress information of the first user. The communications interface isfurther configured to: after the touchscreen displays, in response tothe first input, the first screen that includes the first profilepicture, send, to the second terminal in response to third input of theuser on the first screen, a profile picture that is in the profilepicture of the owner of the first terminal and that corresponds tocurrent scenario information of the owner of the second terminal.

In another possible design method, the current scenario information ofthe first user includes the current time information and the currentaddress information of the first user. For a priority classificationmanner of the time information and the address information in the secondaspect of this application, refer to detailed descriptions in thepossible design method in the first aspect. Details are not describedherein again. The processor is further configured to: in response to thefirst input, sequentially search, in descending order of priorities ofthe time information and the address information, for the first profilepicture that is in the profile picture of the first user and thatcorresponds to the current scenario information. The touchscreen isfurther configured to display the first screen that includes the firstprofile picture after the processor finds the first profile picture forthe first time.

In another possible design method, the processor is further configuredto: in response to the first input, determine that the priority of thetime information is higher than the priority of the address information,or that the priority of the address information is higher than thepriority of the time information. The processor is further configuredto: when the priority of the time information is higher than thepriority of the address information, sequentially search, in descendingorder of the priorities of the time information, for the first profilepicture that is in the profile picture of the first user and thatcorresponds to the current time information; and when the priority ofthe address information is higher than the priority of the timeinformation, sequentially search, in descending order of the prioritiesof the address information, for the first profile picture that is in theprofile picture of the first user and that corresponds to the currentaddress information. The touchscreen is further configured to displaythe first screen that includes the first profile picture after theprocessor finds the first profile picture for the first time.

In another possible design method, the first screen displayed on thetouchscreen is a voice call screen used by the communications unit toperform voice communication with at least two second terminals. Thefirst profile picture is a profile picture of a preset owner in ownersof the at least two second terminals.

In another possible design method, the processor is further configuredto: in response to the first input, detect whether the current scenarioinformation of the first user changes after the first screen thatincludes the first profile picture is displayed. The touchscreendisplays, after the processor detects that the current scenarioinformation of the first user changes, the first screen that includes athird profile picture, where the third profile picture is a profilepicture that is in the profile picture of the first user and thatcorresponds to changed scenario information.

In another possible design method, the first screen displayed on thetouchscreen is the voice call screen used by the communications unit toperform voice communication with the at least two second terminals, andthe first profile picture is a profile picture of an owner of the secondterminal. The processor is further configured to detect, in response tothe first input, whether the current scenario information of the firstuser changes after the first screen that includes the first profilepicture is displayed. The communications interface is further configuredto receive a second profile picture of the owner of the second terminalthat is sent by the second terminal. The touchscreen is furtherconfigured to: after the processor detects that the current scenarioinformation of the first user changes, and the communications interfacereceives the second profile picture of the owner of the second terminalthat is sent by the second terminal; display, in response to receivingthe second profile picture of the owner of the second terminal by thecommunications interface, the first screen that includes the secondprofile picture.

According to a fifth aspect, an embodiment of this application providesa computer storage medium. The computer storage medium includes acomputer instruction. When the computer instruction runs on a terminal,the terminal (namely, the first terminal) is enabled to perform theprofile picture display method according to any one of the possibledesign methods of the first aspect in this application.

According to a sixth aspect, an embodiment of this application providesa computer program product. When the computer program product runs on acomputer, the computer is enabled to perform the profile picture displaymethod according to any one of the possible design methods of the firstaspect in this application.

It may be understood that, the terminals in the second aspect and thefourth aspect, the GUI in the third aspect, the computer storage mediumin the fifth aspect, and the computer program product in the sixthaspect are all configured to perform the corresponding methods providedabove. Therefore, for advantageous effects that the terminals, the GUI,the computer storage medium, and the computer program product canachieve, refer to advantageous effects in the corresponding methodsprovided above. Details are not described again herein.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram 1 of an example of a display screen of aterminal according to this application;

FIG. 2 is a schematic diagram 2 of an example of a display screen of aterminal according to this application;

FIG. 3 is a schematic diagram 3 of an example of a display screen of aterminal according to this application;

FIG. 4 is a schematic diagram of a hardware structure of a mobile phoneaccording to this application;

FIG. 5A is flowchart 1 of a profile picture display method according tothis application;

FIG. 5B is a schematic diagram 4 of an example of a display screen of aterminal according to this application;

FIG. 6 is a schematic diagram 5 of an example of a display screen of aterminal according to this application;

FIG. 7 is flowchart 2 of a profile picture display method according tothis application;

FIG. 8 is flowchart 3 of a profile picture display method according tothis application;

FIG. 9 is flowchart 4 of a profile picture display method according tothis application;

FIG. 10A and FIG. 10B are a schematic diagram 6 of an example of adisplay screen of a terminal according to this application;

FIG. 11 is a schematic diagram 7 of an example of a display screen of aterminal according to this application;

FIG. 12 is a schematic diagram 8 of an example of a display screen of aterminal according to this application;

FIG. 13 is a schematic diagram 9 of an example of a display screen of aterminal according to this application;

FIG. 14 is a schematic diagram 10 of an example of a display screen of aterminal according to this application;

FIG. 15 is a schematic diagram of a network architecture to which aprofile picture display method is applied according to this application;

FIG. 16 is flowchart 5 of a profile picture display method according tothis application;

FIG. 17 is flowchart 6 of a profile picture display method according tothis application;

FIG. 18 is a schematic diagram 11 of an example of a display screen of aterminal according to this application;

FIG. 19 is a schematic diagram 12 of an example of a display screen of aterminal according to this application;

FIG. 20 is a schematic diagram 13 of an example of a display screen of aterminal according to this application;

FIG. 21 is a schematic diagram 1 of structural composition of a terminalaccording to this application;

FIG. 22 is a schematic diagram 2 of structural composition of a terminalaccording to this application; and

FIG. 23 is a schematic diagram 3 of structural composition of a terminalaccording to this application.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

The terms “first” and “second” mentioned below are merely intended fordescription, and shall not be understood as an indication or implicationof relative importance or implicit indication of a quantity of indicatedtechnical features. Therefore, a feature limited by “first” or “second”may explicitly or implicitly include one or more features. In thedescriptions of this application, unless otherwise stated, “plurality”means at least two.

A profile picture set for each contact on a mobile phone is usually afixed picture corresponding to a communication number (for example, amobile phone number) of the contact. After a user sets a profile picturefor a contact on a mobile phone, regardless of a scenario (a time or alocation) in which the user or the contact is located, the mobile phonealways displays the fixed profile picture set for the contact. Userexperience is comparatively poor.

This application provides a profile picture display method and aterminal. The method may be applied to a process in which the terminaldisplays a contact screen or the terminal performs voice communication.Specifically, the terminal may refresh a profile picture of a contact inreal time on the contact screen or a voice call screen of the terminalbased on current scenario information of a user, for example, timeinformation and/or address information.

For example, a first terminal and a second terminal in this applicationmay be a mobile phone, a wearable device, an augmented reality(augmented reality, AR)/a virtual reality (virtual reality, VR) device,a tablet computer, a notebook computer, an ultra-mobile personalcomputer (ultra-mobile personal computer, UMPC), a netbook, a personaldigital assistant (personal digital assistant, PDA), or the like. Aspecific form of the device is not limited in this application.

For example, in an implementation, the profile picture display methodprovided in this application may be applied to a scenario in which theterminal (the first terminal or the second terminal) displays a profilepicture of an owner of the terminal. For example, it is assumed that theterminal is a mobile phone 100. A “contact screen” 101 shown in (a) inFIG. 1 may include an “information option” 102 of an owner of the mobilephone 100, and the “information option” 102 includes a profile picture aof the owner. By using the method in this application, the profilepicture of the owner of the terminal may be refreshed in real time basedon current scenario information of the user.

In addition, the profile picture display method provided in thisapplication may be further applied to a scenario in which the terminaldisplays a profile picture of a contact on the terminal. For example, itis assumed that the terminal is the mobile phone 100, and the “contactscreen” 101 shown in (a) in FIG. 1 includes information options of aplurality of contacts, including an “Aaron (Aaron)'s contact informationoption” 103, a “contact information option of Alisa (Alisa)”, a “contactinformation option of Ben (Ben)”, and the like. The “contact informationoption of Aaron” 103 shown in (a) in FIG. 1 is used as an example. Afterthe user taps the “contact information option of Aaron” 103 shown in (a)in FIG. 1, the mobile phone 100 may display a “contact screen” 104 shownin (b) in FIG. 1. The “contact screen” 104 includes an “Aaron's profilepicture” b, an “Aaron's communication number 138****9763”, anotherfunctional option, and the like. According to the method in thisapplication, the profile picture of the contact on the first terminalmay be refreshed in real time based on the current scenario informationof the user.

In another implementation, the profile picture display method providedin this application may be further applied to a scenario in which thefirst terminal displays, on the voice call screen, a profile picture ofa peer contact in voice communication in a voice communication process.

In some embodiments, the voice communication in this application mayinclude voice communication performed in a process in which the firstterminal makes a call or answers a call.

For example, it is assumed that the first terminal is a mobile phone 100shown in (a) in FIG. 2. (a) in FIG. 2 shows an incoming callnotification screen 201 displayed after the mobile phone 100 receives anincoming call request initiated by the second terminal. The incomingcall notification screen 201 may include a profile picture of a contactinitiating the incoming call request, for example, the “Aaron's profilepicture” b (namely, a profile picture b). According to the method inthis application, the profile picture of the contact may be refreshed inreal time based on the current scenario information of the user orcurrent scenario information of the peer contact.

For example, (b) in FIG. 2 shows an outgoing call screen 202 in whichthe mobile phone 100 initiates an incoming call request to the secondterminal, namely, the outgoing call screen 202 when the first terminalmakes a call (calls another user) to the second terminal. The outgoingcall screen 202 may include a profile picture of a user (a contact onthe first terminal) called by the first terminal, for example, the“Aaron's profile picture” b. According to the method in thisapplication, the profile picture of the contact may be refreshed in realtime based on the current scenario information of the user or thecurrent scenario information of the peer contact.

For example, (c) in FIG. 2 shows a voice call screen 203 when the mobilephone 100 makes a voice call with the second terminal. The voice callscreen 203 may include a profile picture “Aaron's profile picture” b(namely, the profile picture b) of a contact that is performing a voicecall with the first terminal. According to the method in thisapplication, the profile picture of the contact may be refreshed in realtime based on the current scenario information of the user or thecurrent scenario information of the peer contact.

In some other embodiments, the voice communication in this applicationmay further include: performing, by the first terminal, a voice call ora video call by using a third-party application (for example, WeChat,QQ, or another chat tool, and an application program for making a call).

In another implementation, the profile picture display method providedin this application may be applied to a scenario in which the firstterminal displays, on an SMS message screen of the first terminal, aprofile picture of a contact corresponding to an SMS message. Forexample, (a) in FIG. 3 shows an SMS message screen 301 of the mobilephone 100. The SMS message screen 301 includes an “SMS message record302 between the mobile phone 100 and Ben”, and an “SMS message recordbetween the mobile phone 100 and Betty”, an “SMS message record 303between the mobile phone 100 and Chris”, and the like. Each SMS messagerecord includes a profile picture of a corresponding contact.

In addition, the profile picture display method provided in thisapplication may be applied to a scenario in which the first terminaldisplays, on an SMS message details screen of the first terminal, aprofile picture of a contact corresponding to an SMS message. The “SMSmessage record 303 between the mobile phone 100 and Chris” shown in (a)in FIG. 3 is used as an example. After the user taps the “SMS messagerecord 303 between the mobile phone 100 and Chris” shown in (a) in FIG.3, the mobile phone 100 may display an “SMS message details screen” 304shown in (b) in FIG. 3. The “SMS message details screen” 304 includes a“Chris's profile picture”, detailed content of an SMS message, anotherfunctional option, and the like.

According to the method in this application, the profile picture of thecontact on the SMS message screen and the SMS message details screen maybe refreshed in real time based on the current scenario information ofthe user.

It may be understood that application scenarios of the method providedin this application include but are not limited to the scenarios shownin FIG. 1 to FIG. 3. The method in this application may be applied to ascenario of refreshing profile pictures in all “display screens thatinclude profile pictures of contacts and owners.” Other applicationscenarios are not described one by one herein.

It should be noted that, in this application, a profile picture of anyuser is not limited to a portrait photo of the user, and the profilepicture of the user may be an image that corresponds to the user (forexample, a communication number of the user) and that is set on thefirst terminal. The image may include a portrait or may not include aportrait (for example, a landscape image and a cartoon animation image).The portrait may be a portrait photo of a corresponding user, or may bea portrait photo of another person (such as a celebrity's photo).

Refer to FIG. 4. An example in which the first terminal is the mobilephone 100 is used herein to describe the first terminal provided in thisapplication. It should be understood that the mobile phone 100 shown inFIG. 4 is only an example of the first terminal, and the mobile phone100 may have more or fewer components than those shown in the figure, ora combination of two or more components, or components arranged in adifferent manner. Various components shown in FIG. 4 may be implementedin hardware, software, or in a combination of hardware and software thatincludes one or more signal processing and/or application-specificintegrated circuits.

As shown in FIG. 4, the mobile phone 100 includes components such as anRF circuit 410, a memory 420, an input unit 430, a display 440, a sensor450, an audio circuit 460, a Wi-Fi module 470, a processor 480, and apower supply 490. Persons skilled in the art may understand that thestructure of the mobile phone shown in FIG. 4 does not constitute alimitation on the mobile phone, and the mobile phone may include more orfewer components than those shown in the figure, or a combination ofsome components, or components arranged in a different manner.

The following describes in detail the components of the mobile phone 100with reference to FIG. 4.

The RF circuit 410 may be configured to receive and send signals in aninformation receiving and sending process or a call process. The RFcircuit 410 may receive downlink information from a base station,transmit the downlink information to the processor 480 for processing,and send uplink data to the base station. Usually, the RF circuitincludes but is not limited to devices such as an antenna, at least oneamplifier, a transceiver, a coupler, a low noise amplifier, and aduplexer. In addition, the RF circuit 410 may further communicate with anetwork and another mobile device through wireless communication. Thewireless communication may use any communications standard or protocol,including but not limited to global system for mobile communications,general packet radio service, code division multiple access, widebandcode division multiple access, long term evolution, email, SMS messageservice, and the like.

The memory 420 may be configured to store a software program and data.The processor 480 runs the software program and the data stored in thememory 420, to perform various functions and data processing of themobile phone 100. The memory 420 may mainly include a program storagearea and a data storage area. The program storage area may store anoperating system, an application program required by at least onefunction (such as a voice playing function and an image playingfunction), and the like. The data storage area may store data createdbased on use of the mobile phone 100, and the like.

For example, as shown in FIG. 4, the memory 420 saves profile pictureinformation of a contact. The profile picture information of the contactmay include a correspondence between a contact (for example, acommunication number and/or an alias of the contact) and a profilepicture of the contact, and a profile picture of the contact. Forexample, a profile picture of an owner Aimee whose communication numberis 176****5896 is a profile picture a, a profile picture of a contactAaron whose communication number is 138****9763 is a profile picture b,and a profile picture of a contact Ben whose communication number is136****6983 is a profile picture c.

In addition, the memory 420 may include a high-speed random accessmemory, or may include a non-volatile memory, for example, at least onemagnetic disk storage device, a flash memory device, or another volatilesolid-state storage device. In the following embodiments, the memory 420stores an operating system that supports running of the mobile phone100, for example, an iOS® operating system developed by Apple Inc., anAndroid® open-source operating system developed by Google LLC, and aWindows® operating system developed by Microsoft Corporation.

The input unit 430 (for example, a touchscreen) may be configured to:receive entered digit or character information, and generate a signalinput related to user setting and function control of the mobile phone100. Specifically, the input unit 430 may include a touch panel 431disposed on a front side of the mobile phone 100. The touch panel 431may collect a touch operation of the user on or near the touch panel 431(for example, an operation performed by the user on or near the touchpanel 431 by using any suitable object or accessory such as a finger ora stylus), and drive a corresponding connection apparatus according to apreset program. Optionally, the touch panel 431 may include two parts: atouch detection apparatus and a touch controller (not shown in FIG. 4).The touch detection apparatus detects a touch position of the user,detects a signal brought by a touch operation, and transfers the signalto the touch controller. The touch controller receives touch informationfrom the touch detection apparatus, converts the touch information intocoordinates of a touch point, sends the coordinates to the processor480, and receives and executes a command sent by the processor 480. Inaddition, the touch panel 431 may be implemented by using a plurality oftypes such as a resistive type, a capacitive type, an infrared type, anda surface acoustic wave type.

The display 440 (namely, a display screen) may be configured to displayinformation entered by the user or information provided for the user,and GUIs of various menus of the mobile phone 100. The display 440 mayinclude a display panel 441 disposed on a front side of the mobile phone100. The display panel 441 may be configured in a form of a liquidcrystal display, a light-emitting diode, or the like.

In some embodiments, the mobile phone 100 includes a front side A and aback side B. An optical touch button is disposed at the bottom of thefront side A. The touch panel 431 and the display panel 441 are furtherdisposed, and the touch panel 431 covers the display panel 441. Afterdetecting a touch operation on or near the touch panel 431, the touchpanel 431 transfers the touch operation to the processor 480 todetermine a touch event. Then, the processor 480 provides correspondingvisual output on the display panel 441 based on a type of the touchevent. In FIG. 1, the touch panel 431 and the display panel 441 are usedas two separate parts to implement input and input functions of themobile phone 100. However, in some embodiments, the touch panel 431 andthe display panel 441 may be integrated to implement the input andoutput functions of the mobile phone 100. The touch panel 431 and thedisplay panel 441 that are integrated may be referred to as atouchscreen.

In some other embodiments, a pressure sensor may further be disposed onthe touch panel 431, so that the touch panel can further detect pressureof a touch operation when the user performs the touch operation on thetouch panel. Therefore, the mobile phone 100 can more accurately detectthe touch operation.

The mobile phone 100 may further include at least one sensor 450, forexample, an optical sensor, a motion sensor, or another sensor.Specifically, the optical sensor may include an ambient light sensor anda proximity sensor. As shown in FIG. 1A, the ambient light sensor 451may adjust luminance of the display panel 441 based on intensity ofambient light. An optical proximity sensor 452 is disposed on the frontside of the mobile phone 100. When the mobile phone 100 is moved to anear, the mobile phone 100 switches off the display panel 441 based ondetection of the optical proximity sensor 452. This can further reducepower consumption of the mobile phone 100. As a type of motion sensor,an accelerometer sensor may detect a value of acceleration in eachdirection (usually on three axes), may detect a value and a direction ofgravity in a stationary state, and may be used in an application forrecognizing a mobile phone posture (such as screen switching between alandscape mode and a portrait mode, a related game, or magnetometerposture calibration), a function related to vibration recognition (suchas a pedometer or a knock), or the like. Other sensors such as agyroscope, a barometer, a hygrometer, a thermometer, or an infraredsensor may further be configured in the mobile phone 100. Details arenot described herein.

The audio circuit 460, a speaker 461, and a microphone 462 may providean audio interface between the user and the mobile phone 100. The audiocircuit 460 may convert received audio data into an electrical signaland transmit the electrical signal to the speaker 461, and the speaker461 converts the electrical signal into a sound signal for output. Inaddition, the microphone 462 converts a collected sound signal into anelectrical signal. The audio circuit 460 receives and converts theelectrical signal into audio data, and outputs the audio data to the RFcircuit 410 to send the audio data to, for example, another mobilephone, or outputs the audio data to the memory 420 for furtherprocessing.

Wi-Fi is a short-distance wireless transmission technology. With theWi-Fi module 470, the mobile phone 100 may help the user send andreceive an email, browse a web page, access streaming media, and thelike. The Wi-Fi module 470 provides wireless access to the broadbandinternet for the user.

The processor 480 is a control center of the mobile phone 100, and isconnected to various parts of the entire phone by using variousinterfaces and lines. By running or executing the software programstored in the memory 420 and invoking the data stored in the memory 420,the processor 480 performs various functions and data processing of themobile phone 100, to perform overall monitoring on the phone. In someembodiments, the processor 480 may include one or more processing units.An application processor and a modem processor may be further integratedinto the processor 480. The application processor mainly processes anoperating system, a user interface, an application program, and thelike. The modem processor mainly processes wireless communication. Itmay be understood that the modem processor may not be integrated intothe processor 480.

A Bluetooth module 481 is configured to exchange information withanother device by using a short-range communications protocol such asBluetooth. For example, the mobile phone 100 may establish, by using theBluetooth module 481, a Bluetooth connection to a wearable electronicdevice (for example, a smart watch) that also has a Bluetooth module, toexchange data.

The mobile phone 100 further includes the power supply 490 (for example,a battery) that supplies power to the components. The power supply maybe logically connected to the processor 480 by using a power managementsystem, to perform functions such as charging, discharging, and powerconsumption management by using the power management system. It may beunderstood that, in the following embodiments, the power supply 490 maybe configured to supply power to the display panel 441 and the touchpanel 431.

All methods in the following embodiments may be implemented on themobile phone 100 having the foregoing hardware structure.

This application provides a profile picture display method. As shown inFIG. 5A, the profile picture display method may include S501 and S502.

S501: A first terminal receives first input, where the first input isused to instruct the first terminal to display a first screen thatincludes a profile picture of a first user.

The first user may be an owner of the first terminal or a contact savedon the first terminal, or the first user may include the owner of thefirst terminal and the contact saved on the first terminal.

For example, the first user is the owner of the first terminal in afirst application scenario of this application. The first input may bean instruction of a user to start a “contact screen” of the firstterminal. For example, it is assumed that the first terminal is themobile phone 100 shown in FIG. 5B, and the first input may be aninstruction triggered by a tap operation performed by the user on anicon 601 of a “contacts” application shown in (a) in FIG. 5B.

Correspondingly, the first screen may be the “contact screen” of thefirst terminal, and the “contact screen” includes a profile picture ofthe owner of the first terminal (namely, a profile picture of the firstuser). For example, the first screen may be the “contact screen” 101shown in (a) in FIG. 1, and the profile picture may be a profile picturea of the owner.

In a second application scenario of this application, the first user maybe the contact saved on the first terminal. The first input may also bethe instruction of the user to start the “contact screen” of the firstterminal. For example, the first input may be an instruction generatedafter the user taps the “Aaron (Aaron)'s contact information option” 103shown in (a) in FIG. 1. Alternatively, the first input may be aninstruction generated after the user taps an “Aaron's contactinformation option” 501 shown in (b) in FIG. 5B.

Correspondingly, the first screen may be the “contact screen” of thefirst terminal, and the “contact screen” includes a profile picture ofthe contact on the first terminal (namely, the profile picture of thefirst user). For example, the first screen may alternatively be the“contact screen” 104 shown in (b) in FIG. 1, and the profile picture ofthe contact (the first user) may be the “Aaron's profile picture” b.Alternatively, the first screen may be a “contact screen” shown in (c)in FIG. 5B, and the profile picture of the contact (the first user) maybe an “Aaron's profile picture” d.

In a third application scenario of this application, the first input maybe a paging instruction received by the first terminal. After receivingthe paging instruction that is forwarded by a base station to the firstterminal and obtaining incoming call information (for example, anincoming call number), the first terminal may display an “incoming callnotification screen.” Correspondingly, the first screen is the “incomingcall notification screen” of the first terminal. For example, the firstscreen is an “incoming call notification screen” 601 shown in (a) inFIG. 6, and the “incoming call notification screen” 601 includes aprofile picture of a contact that initiates an incoming call request,for example, the “Aaron's profile picture” b. Alternatively, the firstscreen may be an “incoming call notification screen” 602 shown in (b) inFIG. 6, and the “incoming call notification screen” 602 includes aprofile picture of a contact that initiates an incoming call request,for example, the “Aaron's profile picture d.”

Optionally, the first input may be a dialing instruction triggered bythe user on a dialer screen of the first terminal, and the first screenmay be a display screen shown in (b) in FIG. 2. Alternatively, the firstinput may be an instruction triggered by a tap operation performed bythe user on an “answer” button on the “incoming call notificationscreen” of the first terminal shown in (a) or (b) in FIG. 6, and thefirst screen may be a display screen shown in (c) in FIG. 2.

Alternatively, the first input may be an instruction used to instructthe first terminal to display the “SMS message screen” 301 shown in (a)in FIG. 3, and the first screen may be the “SMS message screen” 301shown in (a) in FIG. 3. Alternatively, the first input may be aninstruction triggered by the user by performing a tapping operation onan “SMS message option” 303 shown in (a) in FIG. 3, and the first screenmay be a display screen 304 shown in (b) in FIG. 3.

It should be noted that the first input and the first screen in thisapplication include but are not limited to the first input and the firstscreen examples described above. The first screen in this applicationmay be any display screen that includes a profile picture of an ownerand/or a profile picture of a contact, and the first input is aninstruction or a user operation that is used to instruct the firstterminal to display the first screen.

S502: The first terminal displays, in response to the first input, thefirst screen that includes a first profile picture, where the firstprofile picture is a profile picture that is in the profile picture ofthe first user and that corresponds to current scenario information ofthe first user.

The first terminal may save at least two profile pictures of the firstuser and scenario information corresponding to each profile picture. Thefirst profile picture is one of the at least two profile pictures.

The current scenario information of the first user may include at leastone of current time information, current address information, andcurrent status information of the first user. The current statusinformation of the first user includes at least one of current motioninformation and current emotion information of the first user.

When the first user is the owner of the first terminal, the currentmotion information of the first user may be collected by the firstterminal by using a motion sensor, and the current emotion informationof the first user may be emotion information determined by the firstterminal based on a facial expression of the first user that iscollected by a camera. When the first user is contact information on thefirst terminal, the current motion information and the current emotioninformation of the first user may be information that is received by thefirst terminal and that is sent and collected by a terminal of thecontact.

For example, it is assumed that the scenario information may include thecurrent time information and the current address information of thefirst user, the first terminal saves three profile pictures of the firstuser: a profile picture a, a profile picture b, and a profile picture c,and the current scenario information includes current time informationand current address information of the first user. In addition, theprofile picture a may correspond to afternoon (current time information)and a company (current address information), the profile picture b maycorrespond to noon (current time information) and home (current addressinformation), and the profile picture c may correspond to morning(current time information) and home (current address information). Inthis case, if the first terminal obtains, in response to the first inputin the morning, that the current address information of the first useris home, the first terminal may display the first screen that includesthe profile picture c.

It should be noted that the “current address information of the firstuser” in this application may be information about a current location ofthe first user. The first terminal may obtain the location informationof the first user in real time. Certainly, the “current addressinformation of the first user” may alternatively be a name of a fixedplace that is determined after the first terminal classifies theobtained location information. For example, when a distance between thecurrent location of the first user and a home address of the first useris less than a threshold, it may be determined that the “current addressinformation of the first user” is home of the first user.

A manner of classifying the time information in this applicationincludes but is not limited to the “morning, noon, and afternoon.” Thetime information may be classified in at least one of the followingmanners:

(1) Semi-annual: The first half of a year may be from January 1 to June30 each year; the second half of the year may be from July 1 to December31 each year.

(2) Four seasons of a year: spring, summer, autumn, and winter.

(3) A period of 10 days in a month: The first ten-day period of a monthmay be from the 1st day to the 10th day of the month; the middle ten-dayperiod of the month may be from the 11th day to the 10th day of themonth; the last ten-day period of the month may be from the 21st day tothe end of the month.

(4) Periods of a day: The beginning of the day may be a period from01:01 to 04:59 of the day; the early morning may be a period from 05:05to 05:59 of the day; the mid morning may be a period from 06:00 to08:00; the late morning may be a period from 08:01 to 10:59; the noonmay be a period from 11:00 to 12:59; the afternoon may be a period from13:00 to 17:00; the evening may be a period from 17:01 to 18:00; thenight may be a period from 18:01 to 23:59; the midnight may be a periodfrom 00:00 to 01:00 of the second day.

(5) 24 solar terms: start of spring, rain water, awakening of insects,vernal equinox, clear and bright, grain rain, start of summer, smallfull (grain), grain in ear, summer solstice, minor heat, major heat,start of autumn, limit of heat, white dew, autumnal equinox, cold dew,frost descent, start of winter, minor snow, major snow, winter solstice,minor cold, and major cold.

(6) Holiday: new year's day, spring festival, qingming festival, laborday, dragon boat festival, national day, mid-autumn festival, christmas,halloween, easter day, valentine's day, mother's day, and father's day.

(7) Special date: for example, a birthday or a wedding anniversary ofthe first user (the owner or the contact).

The address information may be classified in at least one of thefollowing manners:

(1) Tourist destinations: Sanya, Great Wall, forbidden city, Yangshuo inGuilin, west lake in Hangzhou, terra-cotta warriors in Xi'an, mountHuangshan in Anhui, and the like.

(2) Places where the first user often visits: home, office, and thelike.

(3) Public places: hospital, gymnasium, public transportation vehicle,library, shopping mall, and the like.

The first terminal may pre-save the at least two profile pictures of thefirst user and the scenario information corresponding to each profilepicture. One profile picture may correspond to any one piece of thescenario information or a combination of at least two pieces of scenarioinformation. The scenario information may include time informationand/or address information. For example, Table 1 lists examples ofconventional profile picture information, and Table 2 lists examples ofprofile picture information provided in this application.

TABLE 1 Profile picture information Communication number Alias Profilepicture 176****8596 Aimee Profile picture a 138****9763 Aaron Profilepicture b . . . . . . . . . 136****6983 Ben Profile picture c

As shown in Table 1, only one fixed profile picture is set for the firstuser on the first terminal. Therefore, whenever the first terminaldisplays the display screen that includes the profile picture of thefirst user, the first terminal displays only the fixed profile pictureon the display screen. For example, it is assumed that a current time is08:08 on Jul. 12, 2017, and the mobile phone shown in (a) in FIG. 1 iscurrently located in Beijing, China. In other words, the Beijing city inwhich the mobile phone is currently located is in midsummer. However, aprofile picture of a user Aimee that is set on the mobile phone shown in(a) in FIG. 1 is a profile picture a (snowman), and therefore a “contactscreen” 102 shown in (a) in FIG. 1 can display only the profile picturea. This does not match a season of the city in which the mobile phone iscurrently located, and user experience is comparatively poor.

TABLE 2 Profile picture information Scenario information LocationCommunication number Alias Time information information Profile picture176****8596 Aimee Winter None Profile picture a Summer Swimming Profilepicture c pool 138****9763 Aaron Other time periods Home Profile pictureb beyond 08:00 to 18:00 08:00-18:00 Office Profile picture e Birthday(July 12) None Profile picture d . . . . . . . . . . . . . . .136****6983 Ben First half Valentine's None Profile picture f of a yearday None City Profile picture g Tourist Profile picture h destinationSecond half of the year City Profile picture i

As shown in Table 2, in this application, the first terminal may save atleast one profile picture of the first user and scenario informationcorresponding to each profile picture of the first user. For example,for the owner Aimee of the mobile phone 100, the mobile phone 100 maysave the profile pictures a and c. Scenario information corresponding tothe profile picture a is “winter.” In other words, when the mobile phone100 displays, in winter, the display screen that includes the profilepicture of Aimee, the mobile phone 100 may display the profile picturea. Scenario information corresponding to the profile picture c is“summer” and “swimming pool.” In other words, when the mobile phone 100displays, in summer, the display screen that includes the profilepicture of Aimee and when Aimee is in the swimming pool, the mobilephone 100 may display the profile picture c. In other words, in thisapplication, the first terminal may display, based on the currentscenario information of the first user, the profile picturecorresponding to the current scenario information, instead of displayinga fixed profile picture at any time or in any place.

For example, in the first application scenario of this application,after the user taps an icon 501 of the “contacts” application shown in(a) in FIG. 5B, when it is assumed that time information obtained by themobile phone 100 is July 12 (in other words, summer), and it isdetermined that the mobile phone 100 is currently located in a swimmingpool, the mobile phone 100 may determine the profile picture ccorresponding to current scenario information based on Table 2. Then,the mobile phone 100 may display a “contact screen” 502 shown in (b) inFIG. 5B. The “contact screen” 502 includes the “profile picture” c ofthe owner Aimee of the mobile phone 100.

In the second application scenario of this application, after the usertaps the “Aaron's contact information option” 501 shown in (b) in FIG.5B, when it is assumed that time information obtained by the mobilephone 100 is July 12, and it is learned from Table 2 that July 12 is thebirthday of Aaron, the mobile phone 100 may determine that a profilepicture corresponding to current scenario information (birthday on July12) is the profile picture d. Then, the mobile phone 100 may display the“contact screen” shown in (c) in FIG. 5B. The “contact screen” includesthe profile picture d of the contact Aaron of the mobile phone 100.

In the third application scenario of this application, when a mobilephone 200 initiates a voice call request (a first voice request) to themobile phone 100 at Aaron's home, the mobile phone 100 may display the“incoming call notification screen” 601 shown in (a) in FIG. 6. Thefirst voice request is initiated by the mobile phone 200 at 22:23 atAaron's home. It can be learned from Table 2 that scenario information(22:23 and home) corresponds to the profile picture b. Therefore, the“incoming call notification screen” 601 includes the profile picture b.When the mobile phone 200 initiates a voice call request (a second voicerequest) to the mobile phone 100 at Aaron's office, the mobile phone 100may display the “incoming call notification screen” 602 shown in (b) inFIG. 6. The second voice request is initiated by the mobile phone 200 at10:23 at Aaron's office. It can be learned from Table 2 that scenarioinformation (10:23 and office) corresponds to the profile picture e.Therefore, the “incoming call notification screen” 602 includes theprofile picture e.

In this application, the first terminal may periodically obtain addressinformation of a contact. Alternatively, the first terminal maydetermine the address information of the contact based on current timeinformation. For example, when current time is within a period from08:00 to 18:00 on a workday, the first terminal may determine thatcurrent address information of the contact is office.

It may be understood that, when displaying any first screen shown inFIG. 1 to FIG. 3, the first terminal may display the first profilepicture (the profile picture corresponding to the current scenarioinformation of the first user) on the first screen. In this application,a specific manner of displaying, by the first terminal, the firstprofile picture (the profile picture corresponding to the currentscenario information of the first user) on the voice call screen and theSMS message screen of the first terminal is not described in detailagain.

It should be noted that, in this application, when no profile picture ofa contact is set on the first terminal, the first terminal may displaythe first screen that includes a default profile picture. For example,the default profile picture may be a profile picture 305 shown in (a) inFIG. 3.

It may be understood that the scenario information may include more thanone group of time information and address information. The timeinformation is used as an example. For example, time informationcorresponding to a profile picture may include: first half of a year,summer, first ten-day period of a month, and late morning. All periodsincluded in the time information may include or being included by otherperiods. To avoid that the first terminal cannot normally obtain thefirst profile picture or cannot display the first screen including thefirst profile picture due to the disordered time information, the firstterminal may classify the time information. For example, the firstterminal may classify the time information into specific timeinformation, day time information, month time information, year timeinformation, and the like.

For example, the specific time information may include a holiday, and aspecial date and a solar term set by the user. The day time informationmay include a fixed period of a day, for example, 08:00 to 18:00, thebeginning of the day, the early morning, the midmorning, the latemorning, the noon, the afternoon, the evening, the night, and themidnight. The month time information may be the first ten-day period ofa month, the middle ten-day period of the month, the last ten-day periodof the month, and the like. The year time information may include thefirst half of a year, the second half of the year, spring, summer,autumn, winter, and the like.

A priority of the specific time information is D1, a priority of thedaily information is D2, a priority of the month time information is D3,and a priority of the year time information is D4. D1>D2>D3>D4. Thefirst terminal may sequentially match, in descending order of thepriorities of the time information, time information corresponding tothe profile picture of the first user, to determine the profile picturecorresponding to the time information. The address information includesat least two levels of address range information. Priorities of the atleast two levels of address range information decrease in ascendingorder of address ranges. Specifically, S502 may include S601.

S601: The first terminal, in response to the first input, sequentiallysearches, in descending order of priorities of time information andaddress information, for the first profile picture that is in theprofile picture of the first user and that corresponds to the currentscenario information, and displaying the first screen that includes thefirst profile picture after finding the first profile picture for thefirst time.

For example, S601 in this application is described herein by using anexample in which the current scenario information is the current timeinformation. As shown in FIG. 7, a method for displaying, by the firstterminal in response to the first input, the first screen that includesthe first profile picture may include S701 to S711.

S701: Start.

S702: Determine whether the profile picture of the first user is set onthe first terminal.

The first user may be the owner or the contact. For example, when thefirst terminal needs to display, in response to the first input, thedisplay screen (the display screen shown in any one of FIG. 1 to FIG. 3)that includes the profile picture of the first user, the first terminalmay determine, based on the first input, whether the profile picture ofthe first user is set on the first terminal.

Specifically, when the profile picture of the first user is set on thefirst terminal, proceed to S703. When the profile picture of the firstuser is not set on the first terminal, proceed to S707.

S703: Determine whether specific time information corresponding tocurrent time is set on the first terminal.

Specifically, when the specific time information corresponding to thecurrent time is not set on the first terminal, proceed to S704. When thespecific time information corresponding to the current time is set onthe first terminal, proceed to S708.

S704: Determine whether day time information corresponding to thecurrent time is set on the first terminal.

Specifically, when the day time information corresponding to the currenttime is not set on the first terminal, proceed to S705. When the daytime information corresponding to the current time is set on the firstterminal, proceed to S709.

S705: Determine whether month time information corresponding to thecurrent time is set on the first terminal.

Specifically, when the month time information corresponding to thecurrent time is not set on the first terminal, proceed to S706. When themonth time information corresponding to the current time is set on thefirst terminal, proceed to Sm.

S706: Determine whether year time information corresponding to thecurrent time is set on the first terminal.

Specifically, when the year time information corresponding to thecurrent time is not set on the first terminal, proceed to S707. When theyear time information corresponding to the current time is set on thefirst terminal, proceed to S711.

S707: Display the first screen that includes a default profile picture.

S708: Display the first screen that includes a profile picturecorresponding to the specific time information.

S709: Display the first screen that includes a profile picturecorresponding to the day time information.

S710: Display the first screen that includes a profile picturecorresponding to the month time information.

S711: Display the first screen that includes a profile picturecorresponding to the year time information.

Correspondingly, the scenario information may include more than onegroup of address information. For example, address informationcorresponding to a profile picture may include Asia, China, Shanxiprovince, Xi'an city, Yanta district, and the like. These pieces ofaddress information included in the address information include or beingincluded by other address information. To avoid that the first terminalcannot normally obtain the first profile picture or cannot display thefirst screen including the first profile picture due to the disorderedaddress information, the first terminal may classify the addressinformation. Specifically, the first terminal may classify the addressinformation into at least two levels of address range information. Theat least two levels of address range information decreases in ascendingorder of address ranges. For example, a priority of district-leveladdress information (for example, Yanta district) is higher than apriority of city-level address information (for example, Xi'an), thepriority of the city-level address information (for example, Xi'an) ishigher than a priority of province-level address information (forexample, Shanxi province), and the priority of the province-leveladdress information (for example, Shanxi province) is higher than apriority of country-level address information (for example, China).

It may be understood that, the time information may be classified intothe time information with a plurality of priorities, the addressinformation includes the at least two levels of address rangeinformation, and the time information and the address information mayalso have priorities. This can avoid a case in which the first terminalcannot normally obtain the first profile picture when current timeinformation and current address information of the terminal located at atime point and in a location correspond to different profile pictures.Specifically, S601 may include S601 a to S601 c.

S601 a: The first terminal determines, in response to the first input,whether the priority of the time information is higher than the priorityof the address information.

Specifically, when the priority of the time information is higher thanthe priority of the address information, proceed to S601 b. When thepriority of the time information is not higher than the priority of theaddress information, proceed to S601 c.

S601 b: The first terminal sequentially searches, in descending order ofthe priorities of the time information, for the first profile picturethat is in the profile picture of the first user and that corresponds tocurrent time information, and displays the first screen that includesthe first profile picture after finding the first profile picture forthe first time.

For detailed descriptions of S601 b in this application, refer torelated method steps in S701 to S711 in this application. Details arenot described herein again.

S601 c: The first terminal sequentially searches, in descending order ofthe priorities of the address information, for the first profile picturethat is in the profile picture of the first user and that corresponds tocurrent address information, and displays the first screen that includesthe first profile picture after finding the first profile picture forthe first time.

A method for “sequentially searching, by the first terminal, indescending order of the priorities of the address information, for thefirst profile picture that is in the profile picture of the first userand that corresponds to current address information, and displaying thefirst screen that includes the first profile picture after finding thefirst profile picture for the first time” in S601 c of this application,refer to detailed descriptions of “sequentially searching, by the firstterminal in descending order of the priorities of the time information,for the first profile picture that is in the profile picture of thefirst user and that corresponds to current time information, anddisplaying the first screen that includes the first profile pictureafter finding the first profile picture for the first time” in thisapplication. Details are not described herein again.

According to the profile picture display method provided in thisapplication, in response to the first input, the first terminal maysequentially match, in descending order of the priorities of the timeinformation and the address information, the first profile picturecorresponding to the current scenario information, and display the firstscreen that includes the first profile picture. A higher priority of thetime information indicates a smaller time range of the time information.Therefore, the first terminal may first search, in descending order ofthe priorities of the time information, for the first profile picturecorresponding to time information with a high priority, in other words,the first profile picture corresponding to time information with arelatively small time range. In this way, the first terminal may quicklyfind the first profile picture corresponding to the small time rangewithout reducing a large time range level by level.

Further, in an implementation of this application, the first terminalmay pre-save the at least two profile pictures of the first user and thescenario information corresponding to each profile picture.

In another implementation of this application, the at least two profilepictures of the first user and the scenario information corresponding toeach profile picture may be information that is set by the user and thatis received by the first terminal on a second screen (namely, a profilepicture setting screen). Specifically, this application further providesa profile picture setting method. As shown in FIG. 8, the profilepicture setting method includes S801 and S802. Alternatively, as shownin FIG. 9, before S501 shown in FIG. 5, the method in this applicationmay further include S801 and S802.

S801: A first terminal displays a second screen, where the second screenincludes a profile picture selection option and at least one scenariosetting option of a first user, the profile picture selection option isused to set a profile picture for the first user, and the at least onescenario setting option is used to set scenario informationcorresponding to the profile picture set for the first user.

For example, it is assumed that the terminal is the mobile phone 100shown in FIG. 10A and FIG. 10B. After the user taps a profile picture aon a “contact screen” 1001 shown in (a) in FIG. 10A, the mobile phone100 may display a “profile picture setting screen” 1002 (namely, thesecond screen) shown in (b) in FIG. 10A. The “profile picture settingscreen” 1002 includes a time setting option 1003 (namely, a scenariosetting option), a location setting option 1004 (namely, a scenariosetting option), and a profile picture selection option 1006.

The time setting option 1003 is used to set time information applicableto a profile picture subsequently set by the profile picture option1006. For example, as shown in (c) in FIG. 10B, after the user enters“summer” in the time setting option 1003, it indicates that a profilepicture c that is subsequently set by the user for Aimee is applicableto summer. In other words, when displaying the profile picture of Aimeein summer, the mobile phone 100 may display the profile picture c. Thelocation setting option 1004 is used to set information about a locationto which the profile picture c subsequently set by the profile pictureoption 1006 is applicable. The profile picture selection option 1006 isused to set the profile picture for the first user (for example, anowner Aimee). For example, after the user taps the profile pictureoption 1006 shown in (c) in FIG. 10B, the mobile phone 100 may display aphoto shown in (d) in FIG. 10B.

For example, it is assumed that the terminal is the mobile phone 100shown in FIG. 11. After the user taps a profile picture b on a “contactscreen” 1101 shown in (a) in FIG. 11, the mobile phone 100 may display a“profile picture setting screen” 1102 (namely, the second screen) shownin (b) in FIG. 11. The “profile picture setting screen” 1102 includes atime setting option 1103 (namely, a scenario setting option), a locationsetting option 1104 (namely, a scenario setting option), and a profilepicture selection option 1105.

For detailed descriptions of the time setting option 1103, the locationsetting option 1104, and the profile picture selection option 1105 inthis application, refer to detailed descriptions of the time settingoption 1003, the location setting option 1004, and the profile pictureselection option 1006. Details are not described herein.

Optionally, an application program used to set a profile picture for anowner or a contact may be installed on the first terminal, and the firstterminal may display the second screen in response to a tap operationperformed by the user on an icon of the application program. Forexample, a “profile picture setting” application program 1201 shown in(a) in FIG. 12 may be installed on the mobile phone 100. After the usertaps the “profile picture setting” application program 1201 shown in (a)in FIG. 12, the mobile phone 100 may display an “owner and contact listscreen” 1202 shown in (b) in FIG. 1. The “owner and contact list screen”1202 includes the information option of the owner of the mobile phone100 (for example, Aimee's information option) and an information optionof at least one contact (for example, Aaron's information option andAlisa's information option). An example in which the user sets theprofile picture for the owner Aimee is used. After the user taps the“Aimee's information option” shown in (b) in FIG. 12, the mobile phone100 may display a “profile picture setting screen” 1203 shown in (c) inFIG. 12. For detailed descriptions of the “profile picture settingscreen” 1203, refer to detailed descriptions of the “profile picturesetting screen” 1002 shown in (b) in FIG. 10A in this application.Details are not described herein again.

The “time setting option” is used to enter display time of a to-be-setprofile picture. The “location setting option” is used to enter alocation in which the terminal displays the to-be-set profile picture.Alternatively, the user may select, from a time selection option and alocation selection option provided by the “time setting option” and the“location setting option”, time information and location informationcorresponding to the to-be-set profile picture. For example, as shown in(b) in FIG. 10A, the “time setting option” 1003 may further include a“time obtaining button” 1005, and the “location setting option” 1004 mayfurther include a “location obtaining button” 1007.

After the user taps a “time obtaining button” 1303 shown in (a) in FIG.13 (same as the “time obtaining button” 1005 shown in (b) in FIG. 10A),the mobile phone 100 may display a “time selection window” 1304 shown in(b) in FIG. 13. The “time selection window” 1304 may include at leastone time category, for example, “the first half of a year and the secondhalf of the year”, “spring, summer, autumn, and winter”, “holidayselection option”, and “anniversary setting option.” After the user tapsa drop-down list box (a triangular button) of the “holiday selectionoption”, the mobile phone 100 may display options of all holidays (forexample, lunar new year's eve, spring festival, and labor day) that canbe set by the user. For example, after the user taps a “holiday settingoption” 1402 in a “time selection window” 1401 shown in (a) in FIG. 14,the mobile phone 100 may display a holiday setting screen 1403. Theholiday setting screen 1403 may include holiday options such as “newyear's day”, “lunar new year's eve” and “spring festival.” Due to alimitation on the display panel of the mobile phone 100, the mobilephone 100 cannot display all holiday options. Therefore, the holidaysetting screen 1403 may further include a drag bar 1404 and a dragbutton 1405. When the user drags the drag button 1405 downward on thedrag bar 1404, the holiday setting screen 1403 of the mobile phone 100may display more holiday options, such as “dragon boat festival”,“children's day”, and “national day.”

Similarly, when the user taps a drop-down list box (a triangular button)of the “anniversary setting option”, the mobile phone 100 may display ananniversary setting screen that can be set by the user. For detailsabout the anniversary setting screen, refer to an anniversary settingscreen in a calendar of the mobile phone. Details are not describedherein.

S802: The first terminal saves, in response to input of a user for theprofile picture selection option and the at least one scenario settingoption, the profile picture set for the first user and the scenarioinformation corresponding to the profile picture set for the first user.

The first terminal may save, in response to the input of the user forthe profile picture selection option and the at least one scenariosetting option, the profile picture set for the first user and thescenario information corresponding to the profile picture set for thefirst user that are listed in Table 2.

According to the profile picture display method provided in thisapplication, the first terminal may display the profile picture settingscreen (namely, the second screen) of the first user, and the user sets,on the profile picture setting screen, profile pictures to be displayedfor the first user based on different scenario information (for example,the time information and the location information).

Optionally, in an implementation of this application, to avoid that aplurality of profile pictures are separately set for the owner and aplurality of contacts on the first terminal, and the profile picturesthat need to be saved occupy storage space of the first terminal, asshown in FIG. 15, the first terminal may upload “the profile picture setfor the first user and the scenario information corresponding to theprofile picture set for the first user” to a cloud server, and the cloudserver saves “the profile picture set for the first user and thescenario information corresponding to the profile picture set for thefirst user”, in other words, the profile picture and the scenarioinformation listed in Table 2. In this way, after receiving the firstinput, the first terminal may obtain the corresponding profile picturefrom the cloud server. Specifically, S502 may be replaced with S1601 toS1605. For example, as shown in FIG. 16, S502 shown in FIG. 9 may bereplaced with S1601 to S1605.

S1601: The first terminal obtains, in response to the first input,current scenario information.

The first terminal may obtain time information when the first terminalreceives the first input (for example, a time point when the firstterminal receives the first input is 12:08:08 on Jul. 12, 2017), and thefirst terminal receives location information of the first input, inother words, where the first terminal receives the first input. Forexample, the first terminal may obtain, by using a global positioningsystem (Global Positioning System, GPS) technology, the locationinformation of the first input received by the first terminal.

S1602: The first terminal sends a first message to a cloud server, wherethe first message is used to obtain a profile picture corresponding tothe current scenario information.

For example, the cloud server in this application may be a storagedevice that has a data storage capability and a wireless datacommunication capability.

S1603: The cloud server receives the first message sent by the firstterminal, and reads a first profile picture that is in the profilepicture of the first terminal saved on the cloud server and thatcorresponds to the current scenario information.

A manner of saving the scenario information and the profile picturecorresponding to the scenario information by the cloud server is similarto a manner of saving the scenario information and the profile picturecorresponding to the scenario information by the first terminal. Detailsare not described herein.

S1604: The cloud server sends a second message to the first terminal,where the second message carries the first profile picture.

S1605: The first terminal receives the second message sent by the cloudserver, and displays the first screen that includes the first profilepicture in the second message.

According to the profile picture display method provided in thisapplication, the cloud server may save “the profile picture set for thefirst user and the scenario information corresponding to the profilepicture set for the first user.” This can avoid that a plurality ofprofile pictures are separately set for the owner and a plurality ofcontacts on the first terminal, and the profile pictures that need to besaved occupy storage space of the first terminal.

In an application scenario of this application, the first screen is avoice call screen used by the first terminal to perform voicecommunication with at least one second terminal, and the first profilepicture may be a profile picture of an owner of the second terminal. Inother words, the first user may include the owner of the second terminalthat performs voice communication with the first terminal.

In an implementation of this application scenario, the first screen is avoice call screen used by the first terminal to perform voicecommunication with a second terminal, and the first profile pictureincluded by the first screen is a profile picture of an owner of thesecond terminal.

In another implementation of this application scenario, the first screenis a voice call screen used by the first terminal to perform voicecommunication with a plurality of second terminals (in other words, atleast two second terminals). The first profile picture included by thefirst screen includes profile pictures of owners of all second terminalsin the plurality of second terminals. Alternatively, the first profilepicture included by the first screen is a profile picture of a presetowner in the owners of the plurality of second terminals. For example,the preset owner may be a supervisor or a relative of the owner of thefirst terminal.

In this application scenario, in a process in which the first terminaldisplays the first screen (namely, the voice call screen used by thefirst terminal to perform voice communication with the second terminal)in S502, the first terminal may further share the profile picture of theowner of the first terminal with the second terminal.

In a possible implementation, in a process in which the first terminalperforms voice communication with the at least one second terminal, aprofile picture sent by the first terminal to the second terminal is aprofile picture that is in the profile picture of the owner of the firstterminal and that corresponds to current scenario information of theowner of the first terminal. Specifically, after S502, the method inthis application may further include S1701.

S1701: The first terminal sends, to a second terminal in response tothird input of a user on the first screen, a profile picture that is ina profile picture of an owner of the first terminal and that correspondsto current scenario information of the owner of the first terminal.

The first terminal may obtain, in response to the third input of theuser on the first screen, the profile picture that is in the profilepicture of the owner of the first terminal and that corresponds to thecurrent scenario information of the owner of the first terminal, andsend the obtained profile picture to the second terminal.

It may be understood that, if the first terminal is performing voicecommunication with a plurality of second terminals, “profile picturesthat are in the profile picture of the owner of the first terminal, thatcorrespond to the current scenario information of the owner of the firstterminal”, and that are sent by the first terminal to the plurality ofsecond terminals are a same profile picture. In other words, the firstterminal may push the same profile picture to the plurality of secondterminals.

In another possible implementation, in the process in which the firstterminal performs voice communication with the at least one secondterminal, a profile picture sent by the first terminal to the secondterminal is a profile picture that is in the profile picture of theowner of the first terminal and that corresponds to current scenarioinformation of the owner of the second terminal. Specifically, afterS502, the method in this application may further include S1702.

S1702: The first terminal sends, to a second terminal in response tothird input of a user on the first screen, a profile picture that is ina profile picture of an owner of the first terminal and that correspondsto current scenario information of an owner of the second terminal.

The first terminal may obtain, in response to the third input of theuser on the first screen, the profile picture that is in the profilepicture of the owner of the first terminal and that corresponds to thecurrent scenario information of the owner of the second terminal, andsend the obtained profile picture to the second terminal.

It may be understood that, if the first terminal is performing voicecommunication with a plurality of second terminals, “profile picturesthat are in the profile picture of the owner of the first terminal, thatcorrespond to the current scenario information of the owner of thesecond terminal”, and that are sent by the first terminal to theplurality of second terminals are different profile pictures becausecurrent scenario information of each of the plurality of secondterminals is different. In other words, the first terminal may pushdifferent profile pictures to the plurality of second terminals.

It should be noted that, for a method for “obtaining, by the firstterminal, the profile picture that is in the profile picture of theowner of the first terminal and that corresponds to the current scenarioinformation” in S1701 and S1702, refer to detailed descriptions of“obtaining a profile picture corresponding to the current scenarioinformation” in the foregoing embodiment of this application. Detailsare not described herein again. For detailed descriptions of “thirdinput of a user on the first screen” in S1701 and S1702, refer todetailed descriptions of S1801 in this application. Details are notdescribed herein again.

Further, in the process in which the first terminal displays the firstscreen (namely, the voice call screen used by the first terminal toperform voice communication with the second terminal) in S502, the firstterminal may further receive a profile picture shared by the secondterminal. In the process in which the second terminal performs voicecommunication with the first terminal, the second terminal may alsodisplay a corresponding voice call screen. In other words, the method inthis application may further include S1801. After S502 and S1801, thesecond terminal may send, to the first terminal in response to the inputof the user, a second profile picture of the owner of the secondterminal. Specifically, as shown in FIG. 17, the method in thisapplication may further include S1801 and S1804.

S1801: A second terminal displays a voice call screen, where the voicecall screen is a display screen used by the second terminal to performvoice communication with the first terminal, and the voice call screenincludes a profile picture of an owner of the first terminal.

The owner of the first terminal is a contact on the second terminal. Forexample, it is assumed that the mobile phone 100 (namely, the firstterminal, and the owner is Aimee) is performing first voicecommunication with the mobile phone 200 (namely, the second terminal,and the owner is Aaron). As shown in (a) in FIG. 18, the mobile phone200 may display a “voice call screen” 1801. The “voice call screen” 1801includes the profile picture c of the owner Aimee of the first terminal.

The owner of the second terminal is a contact on the first terminal. Asshown in (a) in FIG. 19, the mobile phone 100 (namely, the firstterminal) may display a “first screen” 1901. The “first screen” 1901includes a first profile picture of the owner Aaron of the secondterminal, for example, the profile picture b.

S1802: The second terminal sends, to the first terminal in response tothird input of a user on the voice call screen displayed by the secondterminal, a second profile picture of an owner of the second terminal.

Refer to S1701. The second profile picture sent by the second terminalto the first terminal may be the profile picture that is in the profilepicture of the owner of the second terminal and that corresponds to thecurrent scenario information of the owner of the second terminal. Referto S1702. The second profile picture sent by the second terminal to thefirst terminal may alternatively be the profile picture that is in theprofile picture of the owner of the second terminal and that correspondsto the current scenario information of the owner of the first terminal.

The second terminal may obtain, in response to the third input, thesecond profile picture from the profile picture that is of the owner ofthe second terminal and that is saved on the second terminal or a cloudserver, and send the second profile picture to the first terminal.

For example, the third input may be a predefined gesture entered by theuser on the voice call screen, or an instruction triggered by thepredefined gesture entered by the user on the voice call screen.Alternatively, the voice call screen may include a “profile picturesharing option”, and the third input may be a tap operation performed bythe user on the “profile picture sharing option” or an instructiontriggered by the tap operation performed by the user on the “profilepicture sharing option.” For example, the third input may be aninstruction triggered by tapping, by the user, a “profile picturesharing option” 1802 shown in (a) in FIG. 18. The mobile phone 200(namely, the second terminal) may send, to the mobile phone 100 (namely,the first terminal) in response to the instruction, the profile picturethat is in the profile picture of the owner of the mobile phone 200 andthat corresponds to the current scenario information of the mobile phone200. For example, the profile picture e.

It should be noted that, for a method for “obtaining, by the secondterminal from the profile picture that is of the owner of the secondterminal and that is saved on the second terminal or a cloud server, theprofile picture that corresponds to the current scenario information ofthe second terminal” in this application, refer to the foregoing methodfor obtaining, by the first terminal, the profile picture thatcorresponds to the current scenario information of the first terminal.Details are not described herein.

S1803: The first terminal receives the second profile picture of theowner of the second terminal that is sent by the second terminal.

The first terminal and the second terminal may transmit the profilepicture (for example, the second profile picture) by using a wirelessshort-haul connection between the first terminal and the secondterminal. The wireless short-haul communication connection in thisapplication may be a communication connection established by using awireless short-haul communications technology.

For example, the wireless short-haul communication connection may be aBluetooth (Bluetooth, BT) connection or a Wi-Fi connection, or may beanother wireless short-haul communication connection, for example, aninfrared connection, a short-haul wireless communications technology(Near Field Communication, NFC) connection, an ultra-widebandconnection, a ZigBee protocol (ZigBee) connection, and a Bluetooth lowenergy (Bluetooth Low Energy, BLE) connection. This is not specificallylimited in this application. The Wi-Fi connection may be a Wi-Fi directconnection, namely, a peer-to-peer connection between Wi-Fi devices.

S1804: The first terminal displays, in response to receiving the secondprofile picture of the owner of the second terminal, the first screenthat includes the second profile picture.

In the process in which the first terminal performs voice communicationwith the second terminal, if the first terminal receives the secondprofile picture sent by the second terminal, the first terminal maydisplay, in response to an operation of “receiving the second profilepicture”, the voice call screen that includes the second profilepicture.

For example, in response to receiving the profile picture e of a firstcontact Aaron sent by the mobile phone 200, the mobile phone 100 maydisplay a “first screen” 1902 shown in (b) in FIG. 19. The “firstscreen” 1902 includes the profile picture e (namely, the second profilepicture) of the owner Aaron of the second terminal.

According to the profile picture display method provided in thisapplication, in the process in which the first terminal performs voicecommunication with the second terminal, the first terminal may receiveand display the second profile picture sent by the second terminal. Inother words, the first terminal and the second terminal may share theirrespective profile pictures in the voice communication process in thisapplication.

Optionally, after sending the second profile picture of the owner of thesecond terminal to the first terminal, the second terminal may furtherdisplay a prompt window indicating that information is successfullysent. The prompt window is used to indicate that the second terminal hassent the second profile picture of the owner of the second terminal tothe first terminal. For example, the mobile phone 200 may display aprompt window 1804 indicating that information shown in (b) in FIG. 18is successfully sent.

Further, after receiving the second profile picture sent by the secondterminal, the first terminal may not immediately display the firstscreen that includes the second profile picture, but display a thirdscreen that includes first prompt information. The first promptinformation is used to prompt the user whether to set the second profilepicture as the profile picture of the first contact. Specifically, S1804may be replaced with S1804 a and S1804 b.

S1804 a: The first terminal displays, in response to receiving thesecond profile picture, a third screen that includes first promptinformation, where the first prompt information is used to prompt theuser whether to set the second profile picture as the profile picture ofthe owner of the second terminal.

For example, the first terminal is the mobile phone 100. After themobile phone 100 performs S1702 and S1703, the mobile phone 100 maydisplay a display screen shown in FIG. 20. The display screen shown inFIG. 20 includes “first prompt information” 2001, and the “first promptinformation” 2001 may include prompt information “Are you sure you wantto set profile picture e as Aaron's profile picture?” “Yes” is an option2002 and “No” is an option 2003.

S1804 b: The first terminal displays, in response to second input of theuser for the first prompt information on the third screen, the firstscreen that includes the second profile picture.

For example, the second input performed by the user on the first promptinformation on the third screen may be an instruction generated afterthe user taps the “Yes” option 2002 on the display screen shown in FIG.20. The mobile phone 100 may display, in response to the instruction, a“call screen” 1902 shown in (b) in FIG. 19.

Further, the user may not want to refresh the profile picture of theowner of the second terminal on the first terminal. In this case, theS1804 may further include S1804 c.

S1804 c: The first terminal displays, in response to fourth input of theuser for the first prompt information on the third screen, the firstscreen that includes the first profile picture, and sends a thirdmessage to the second terminal.

The third message is used to instruct the first terminal to refuse toset the second profile picture as the profile picture of the firstcontact.

For example, the fourth input may be an instruction generated after theuser taps the “No” option 2003 on the display screen shown in FIG. 20.The mobile phone 100 may display, in response to the instruction, a“call screen” 1901 shown in (a) in FIG. 19.

Optionally, in a process in which the first terminal performs voicecommunication with different terminals, the first terminal sendsdifferent profile pictures to the terminals. For example, it is assumedthat a user a uses a terminal A to perform voice communication with aterminal B of a user b. In a voice communication process, the terminal Amay send, to the terminal B, a profile picture corresponding to currenttime information, current address information, and current statusinformation of the user b. In a process in which the user a performsvoice communication with a terminal C by using the terminal A, the usera may send, to the terminal C, a profile picture corresponding tocurrent time information, current address information, and currentstatus information of the user c.

It should be noted that, in the process in which the first terminalperforms voice communication with the second terminal, the firstterminal may not only share the profile picture of the owner of thefirst terminal with a peer end, but also share, with the peer end, aprofile picture of a contact shared by the first terminal and the peerend. In other words, in the process in which the first terminal performsvoice communication with the second terminal, the first terminal mayshare the profile picture of the first user (the owner and/or thecontact) with the second terminal. For a method for sharing, by thefirst terminal and the second terminal, the profile picture of thecontact shared by the first terminal and the second terminal, refer tothe method for sharing, by the second terminal with the first terminal,the profile picture of the owner of the first terminal in S1701 toS1703. Details are not described herein.

Further, in the process in which the first terminal performs voicecommunication with the second terminal, the first terminal may not onlyshare, with the peer end, the at least one profile picture of the firstuser, but also share, with the peer end, the scenario informationcorresponding to each profile picture, so that a peer device can displaya corresponding profile picture based on the scenario information.

In another possible design method, in the process in which the firstterminal performs voice communication with the second terminal, thecurrent scenario information of the first terminal or the secondterminal may change. The change in the scenario information herein inthis application relates to changes in the time information, the addressinformation, and the motion information or the emotion information. Forexample, in the process in which the first terminal performs voicecommunication with the second terminal, location information of thesecond terminal changes (for example, voice communication is performedin a process in which the owner of the second terminal takes a bus). Inthis case, the first terminal may monitor a change in the addressinformation of the first user (namely, the owner of the second terminal)in real time, and refresh the profile picture of the first userdisplayed on the first screen of the first terminal. In other words, thefirst terminal displays, on the first screen, a third profile picturecorresponding to changed address information. Specifically, after S502,the method in this application may further include S1901.

S1901: After detecting that the current scenario information of thefirst user changes, the first terminal displays the first screen thatincludes a third profile picture, where the third profile picture is aprofile picture that is in the profile picture of the first user andthat corresponds to changed scenario information.

For example, in this application, the second terminal may monitor achange in address information of the second terminal in real time. Whena distance between a location of the second terminal currently obtainedby the second terminal and a location of the second terminal previouslyobtained by the second terminal is greater than a preset threshold, thesecond terminal sends the currently obtained location of the secondterminal to the first terminal, so that the first terminal can refreshthe profile picture on the first screen of the first terminal.Alternatively, the first terminal may periodically send an addressobtaining request to the second terminal, to obtain latest addressinformation of the second terminal from the second terminal. When thedistance between the currently obtained location of the second terminaland the previously obtained location of the second terminal is greaterthan the preset threshold, the first terminal refreshes the profilepicture on the first screen of the first terminal.

Further, to avoid a case in which when the first terminal detects thatthe current scenario information of the first user changes and the firstterminal receives the second profile picture sent by the secondterminal, the first terminal cannot determine that the first terminalneeds to display “a profile picture corresponding to changed scenarioinformation”, or display “the second profile picture pushed by thesecond terminal”, the first terminal may set that in the voicecommunication process, a priority of a profile picture pushed by a peerend is higher than a priority of the profile picture corresponding tothe changed scenario information in this application. Specifically,after S502, the method in this application may further include S2001.

S2001: After detecting that the current scenario information of thefirst user changes, and receiving the second profile picture of theowner of the second terminal that is sent by the second terminal, thefirst terminal displays, in response to receiving the second profilepicture of the owner of the second terminal, the first screen thatincludes the second profile picture.

After detecting that the current scenario information of the first userchanges, and receiving the second profile picture of the owner of thesecond terminal that is sent by the second terminal, the first terminalmay preferentially display the second profile picture pushed by thesecond terminal. This helps the user that uses the first terminalcommunicate with a user that uses the second terminal.

In another possible design method, to avoid visual fatigue of the usercaused by viewing a same profile picture on the first screen for a longtime, the first terminal may further periodically refresh the profilepicture of the first user on the first screen of the first terminal.

Optionally, in the process in which the first terminal performs voicecommunication with the second terminal, the profile picture shared bythe second terminal with the first terminal includes but is not limitedto the profile picture of the owner of the second terminal and/or acontact saved on the second terminal, and may further include a pictureof a landmark building or a scenery picture of the location of thesecond terminal. For example, based on the foregoing example, it isassumed that Aaron of the mobile phone 200 is traveling in the Tian AnMen Square in Beijing, in a process of performing voice communicationbetween the mobile phone 200 and the mobile phone 100, the mobile phone200 may send a picture of the Tian An Men Square in Beijing to themobile phone 100. After receiving the picture, the mobile phone 100 mayset the picture as Aaron's profile picture. Aimee who owns the mobilephone 100 may determine that Aaron is currently in Beijing.

Optionally, when the first terminal is in different modes, the firstterminal may further set different profile pictures for the owner of theterminal. After receiving a voice paging request from another terminal,the first terminal may send a profile picture corresponding to a currentmode to the another terminal. In this way, a user of the anotherterminal may determine a current status of the user by using the profilepicture. For example, the first terminal may be in meeting, home,traveling, motion, and other modes.

Optionally, after S502, in the process in which the first terminalperforms voice communication with the second terminal, the firstterminal may further collect motion information of the owner of thefirst terminal by using a sensor, and send data related to the motioninformation or a profile picture corresponding to the motion informationto the second terminal. For example, in the process in which the firstterminal performs voice communication with the second terminal, thefirst terminal may collect motion data of the first terminal by usingthe motion sensor, and determine, based on the motion data, that theowner is running. In this case, the first terminal may send a profilepicture corresponding to running to the second terminal, so that thesecond terminal may receive and display the profile picturecorresponding to running, and the owner of the second terminal maydetermine a current status of the owner of the first terminal by usingthe profile picture. Alternatively, the first terminal may further pusha quantity of steps of the owner of the first terminal, running-relatedphysical exercise information, and the like to the second terminal, tourge the owner of the second terminal to do physical exercises.

Optionally, after S502, in the process in which the first terminalperforms voice communication with the second terminal, the firstterminal may further collect the emotion information of the owner of thefirst terminal by using a camera. For example, in the process in whichthe first terminal performs voice communication with the secondterminal, the first terminal may collect a facial expression of theowner of the first terminal by using the camera, to determine theemotion information of the first terminal, and sends the emotioninformation or a profile picture corresponding to the emotioninformation to the second terminal. In this way, the owner of the secondterminal may learn of an emotion change of the owner of the firstterminal.

According to the profile picture display method provided in thisapplication, in the process in which the first terminal performs voicecommunication with the second terminal, the first terminal may pushdifferent profile pictures to the second terminal based on the emotionchange of the owner of the first terminal. In this way, the owner of thesecond terminal may not only speculate the emotion change of the ownerof the first terminal based on a voice and tone change of the peer end,but also more directly and accurately learn of the emotion change of theowner of the first terminal based on the profile picture pushed by thefirst terminal. This facilitates communication between the users of thetwo terminals.

It can be understood that, to implement the foregoing functions, theterminal and the like include corresponding hardware structures and/orsoftware modules for performing the functions. A person of ordinaryskill in the art should easily be aware that, in combination with theexamples described in the embodiments disclosed in this specification,units, algorithms, and steps may be implemented by hardware or acombination of hardware and computer software. Whether a function isperformed by hardware or hardware driven by computer software depends onparticular applications and design constraints of the technicalsolutions. A person skilled in the art may use different methods toimplement the described functions for each particular application, butit should not be considered that the implementation falls beyond thescope of the embodiments of the present invention.

In the embodiments of this application, the terminal may be divided intofunctional modules based on the foregoing method examples. For example,each functional module may be obtained through division based on eachcorresponding function, or two or more functions may be integrated intoone processing module. The integrated module may be implemented in aform of hardware, or may be implemented in a form of a softwarefunctional module. It should be noted that, in this embodiment of thepresent invention, division into modules is an example, is merelylogical function division, and may be other division in an actualimplementation.

If functional modules obtained through division are in one-to-onecorrespondence with functions, FIG. 21 shows a possible schematicdiagram of a structure of a terminal in the foregoing embodiments. Theterminal 2100 includes an input unit 2101 and a display unit 2102. Theinput unit 2101 is configured to support the terminal to perform S501 inthe method embodiments, and/or another process of the technologydescribed in this specification. The terminal 2100 in this applicationmay be the first terminal or the second terminal in the foregoing methodembodiments.

The display unit 2102 is configured to support the terminal to performthe operations of displaying the first screen that includes the firstprofile picture in S502, S601, S601 b to S601 c, and S1804 c, and theoperations in S801, S1804, S1804 a, S1804 b, S1901, S2001, and S707 toS711 in the method embodiments, and/or another process of the technologydescribed in this specification.

Further, as shown in FIG. 22, the terminal 2100 may further include astorage unit 2103. The storage unit 2103 is configured to support theterminal to perform S8 o 2 in the method embodiments, and/or anotherprocess of the technology described in this specification.

Further, the terminal 2100 may further include a first communicationsunit. The first communications unit is configured to perform voicecommunication with another terminal (for example, the second terminal),and/or another process of the technology described in thisspecification.

Further, the terminal 2100 may further include a second communicationsunit. The second communications unit is configured to support theterminal to perform S1602, S1605, S1701, S1702, and S1803 in the methodembodiments, and/or another process of the technology described in thisspecification.

Optionally, the first communications unit may support the terminal toperform S1602, S1605, S1701, S1702, S1803, and the like in the methodembodiments

All related content of the steps in the foregoing method embodiments maybe cited in function descriptions of a corresponding functional module.Details are not described herein again.

Certainly, the terminal 2100 includes but is not limited to the unitsand modules listed above. For example, the terminal 2100 may furtherinclude a calculation unit. The calculation unit is configured tocalculate touch point coordinates corresponding to input of the user ona screen displayed by the display unit. The terminal 2100 may furtherinclude a search unit. The search unit is configured to support theterminal to perform the operation of “sequentially searching, indescending order of priorities of the time information and the addressinformation, for the first profile picture” in S601 and S601 b and S601c in the method embodiments, and/or another process of the technologydescribed in this specification. The terminal 2100 may further include adetermining module. The determining module is configured to support theterminal to perform S601 a and S702 to S706 in the method embodiments,and/or another process of the technology described in thisspecification. The terminal 2100 may further include an obtainingmodule. The obtaining module is configured to support the terminal toperform S1610 in the method embodiments, and/or another process of thetechnology described in this specification.

In addition, functions that the functional units can specificallyimplement include but are not limited to the functions corresponding tothe method steps in the foregoing examples. For detailed descriptionsabout other units of the terminal 2100, refer to the detaileddescriptions about the method steps corresponding to the units. Detailsare not described again herein.

When an integrated unit is used, the input unit 2101, the calculationunit, and the like may be integrated into one processing module. Thefirst communications unit may be an RF circuit of the terminal, and thesecond communications unit may be a Wi-Fi module, a Bluetooth module, orthe like of the terminal, and the first communications unit and thesecond communications unit may be collectively referred to as acommunications module. The storage unit may be a storage module of theterminal, and the display module may be a display module such as atouchscreen.

FIG. 23 is a schematic diagram of a possible structure of the terminalin the foregoing embodiments. The terminal 2300 includes a processingmodule 2301, a storage module 2302, a display module 2303, and acommunications module 2304. The processing module 2301 is configured toperform control management on an action of the terminal. The displaymodule 2303 is configured to display an image generated by theprocessing module 2301. The storage module 2302 is configured to saveprogram code and data of the terminal. The communications module 2304 isconfigured to communicate with another terminal. For example, thecommunications module 2304 is configured to perform voice communicationwith another terminal, and receive a profile picture from or send aprofile picture to another terminal.

The processing module 2301 may be a processor or a controller, forexample, may be a central processing unit (Central Processing Unit,CPU), a general-purpose processor, a digital signal processor (DigitalSignal Processor, DSP), an application-specific integrated circuit(Application-Specific Integrated Circuit, ASIC), a field programmablegate array (Field Programmable Gate Array, FPGA) or another programmablelogic device, a transistor logic device, a hardware component, or anycombination thereof. The controller/processor may implement or executevarious example logical blocks, modules, and circuits described withreference to content disclosed in the present invention. The processormay also be a combination implementing a computing function, forexample, a combination of one or more microprocessors, or a combinationof a DSP and a microprocessor. The communications module 2304 may be atransceiver, a transceiver circuit, a communications interface, or thelike. The storage module 2302 may be a memory.

When the processing module 2301 is the processor (for example, theprocessor 480 shown in FIG. 4), the communications module 2304 is an RFtransceiver circuit (for example, the radio frequency circuit 410 shownin FIG. 4), and the storage module 2302 is a memory (for example, thememory 420 shown in FIG. 4). When the display module 2303 is atouchscreen (including the touch panel 431 and the display panel 441shown in FIG. 4), the terminal provided in this embodiment of thepresent invention may be the terminal 100 shown in FIG. 4. Thecommunications module 2304 may include not only the RF transceivercircuit, but also the Wi-Fi module and the Bluetooth module. Thecommunications modules such as the RF transceiver circuit, the Wi-Fimodule, and the Bluetooth module may be collectively referred to as acommunications interface. The processor, the communications interface,the touchscreen, and the storage area may be coupled together by using abus.

Refer to FIG. 1 to FIG. 3, FIG. 5B, FIG. 6, FIG. 10A to FIG. 15, andFIG. 18 to FIG. 20. An embodiment of this application further provides agraphical user interface (GUI). The GUI is saved on a terminal. Theterminal includes a touchscreen, a memory, a processor, and acommunications interface. The processor is configured to execute one ormore computer programs saved in the memory. The GUI includes: displayingon the touchscreen, in response to first input, a first screen thatincludes a first profile picture, where the first input is used toinstruct the first terminal to display the first screen that includes aprofile picture of a first user; the first user is an owner of the firstterminal or a contact saved on the first terminal; the first profilepicture is a profile picture that is in the profile picture of the firstuser and that corresponds to current scenario information of the firstuser; the current scenario information of the first user includes atleast one of current time information, current address information, andcurrent status information of the first user; the current statusinformation of the first user includes at least one of current motioninformation and current emotion information of the first user; and thefirst screen is any one of a contact screen, an SMS message screen, or avoice call screen.

Further, the GUI further includes: before displaying the first screen onthe touchscreen, displaying a second screen on the touchscreen, wherethe second screen includes a profile picture selection option and atleast one scenario setting option of the first user, the profile pictureselection option is used to set a profile picture for the first user,and the at least one scenario setting option is used to set scenarioinformation corresponding to the profile picture set for the first user.

Further, the first screen is a voice call screen used by thecommunications interface to perform voice communication with a secondterminal, and the first profile picture is a profile picture of an ownerof the second terminal. The GUI further includes: after displaying thefirst screen on the touchscreen, displaying on the touchscreen, inresponse to receiving a second profile picture of the owner of thesecond terminal, the first screen that includes the second profilepicture.

Further, the GUI further includes: displaying on the touchscreen, inresponse to receiving the second profile picture, a third screen thatincludes first prompt information, where the first prompt information isused to prompt a user whether to set the second profile picture as theprofile picture of the owner of the second terminal; and displaying onthe touchscreen, in response to second input for the first promptinformation on the third screen, the first screen that includes thesecond profile picture, where the second input is used to instruct thefirst terminal to refresh the first profile picture to the secondprofile picture.

Further, the first screen is a voice call screen used by thecommunications interface to perform voice communication with at leasttwo second terminals, and the first profile picture is a profile pictureof a preset owner in owners of the at least two second terminals.

Further, the GUI further includes: after displaying, on the touchscreen,the first screen that includes the first profile picture, if theprocessor detects that the current scenario information of the firstuser changes, displaying, on the touchscreen, the first screen thatincludes a third profile picture, where the third profile picture is aprofile picture that is in the profile picture of the first user andthat corresponds to changed scenario information.

Further, the first screen is the voice call screen used by thecommunications interface to perform voice communication with the atleast two second terminals, and the first profile picture is a profilepicture of an owner of the second terminal. The GUI further includes:after displaying, on the touchscreen, the first screen that includes thefirst profile picture, if the processor detects that the currentscenario information of the first user changes, and the communicationsinterface receives the second profile picture of the owner of the secondterminal that is sent by the second terminal, displaying, on thetouchscreen, in response to receiving, by the communications interface,the second profile picture of the owner of the second terminal, thefirst screen that includes the second profile picture.

This application further provides a computer storage medium, where thecomputer storage medium saves computer program code. When the processorexecutes the computer program code, the terminal performs related methodsteps in any one of FIG. 5A, FIG. 7, FIG. 8, FIG. 9, FIG. 16, and FIG.17 to implement the profile picture display method in the foregoingembodiments.

This application further provides a computer program product. When thecomputer program product runs on a computer, the computer is enabled toperform related method steps in any one of FIG. 5A, FIG. 7, FIG. 8, FIG.9, FIG. 16, and FIG. 17 to implement the profile picture display methodin the foregoing embodiments.

The terminal 2100, the terminal 2300, the computer storage medium, andthe computer program product provided in this application are allconfigured to perform the corresponding methods provided in theforegoing. Therefore, for advantageous effects that can be achieved bythe terminal 2100, the terminal 2300, the computer storage medium, andthe computer program product, refer to the advantageous effects of thecorresponding methods provided in the foregoing. Details are notdescribed herein again.

The foregoing descriptions about implementations allow a person skilledin the art to understand that, for ease of description and brevity,division of the foregoing functional modules is used as an example forillustration. In an actual application, the foregoing functions may beallocated to different functional modules and implemented as required,in other words, an inner structure of an apparatus is divided intodifferent functional modules to implement all or some of the functionsdescribed above. For a detailed working process of the foregoing system,apparatus, and unit, refer to a corresponding process in the foregoingmethod embodiments, and details are not described herein again.

In the several embodiments provided in this application, it should beunderstood that the disclosed system, apparatus, and method may beimplemented in other manners. For example, the described apparatusembodiment is merely an example. For example, division into the modulesor units is merely logical function division and may be other divisionin an actual implementation. For example, a plurality of units orcomponents may be combined or integrated into another system, or somefeatures may be ignored or not performed. In addition, the displayed ordiscussed mutual couplings or direct couplings or communicationconnections may be implemented by using some interfaces. The indirectcouplings or communication connections between the apparatuses or unitsmay be implemented in electronic, mechanical, or other forms.

The units described as separate parts may or may not be physicallyseparate, and parts displayed as units may or may not be physical units,may be located in one position, or may be distributed on a plurality ofnetwork units. Some or all of the units may be selected based on actualrequirements to achieve the objectives of the solutions of theembodiments.

In addition, functional units in the embodiments of this application maybe integrated into one processing unit, or each of the units may existalone physically, or two or more units are integrated into one unit. Theintegrated unit may be implemented in a form of hardware, or may beimplemented in a form of a software functional unit.

When the integrated unit is implemented in the form of a softwarefunctional unit and sold or used as an independent product, theintegrated unit may be saved in a computer-readable storage medium.Based on such an understanding, the technical solutions of thisapplication essentially, or the part contributing to the prior art, orall or some of the technical solutions may be implemented in the form ofa software product. The software product is saved in a storage mediumand includes several instructions for instructing a computer device(which may be a personal computer, a server, or a network device) toperform all or some of the steps of the methods described in theembodiments of this application. The foregoing storage medium includes:any medium that can save program code, such as a flash memory, aremovable hard disk, a read-only memory, a random access memory, amagnetic disk, or an optical disc.

The foregoing descriptions are merely specific implementations of thisapplication, but are not intended to limit the protection scope of thisapplication. Any variation or replacement within the technical scopedisclosed in this application shall fall within the protection scope ofthis application. Therefore, the protection scope of this applicationshall be subject to the protection scope of the claims.

1.-45. (canceled)
 46. A method, comprising: receiving, by a firstterminal, a first input, wherein the first input instructs the firstterminal to display a first screen that comprises a profile picture of afirst user, and the first user is an owner of the first terminal or acontact saved on the first terminal; and searching, by the firstterminal in response to the first input, for a profile picture of thefirst user that corresponds to current scenario information of the firstuser, to identify a first profile picture of the first user, wherein thecurrent scenario information of the first user comprises current timeinformation, current address information, or current status informationof the first user, the current status information of the first usercomprises current motion information or current emotion information ofthe first user, and wherein the first screen is a contact screen, ashort message service (SMS) message screen, or a voice call screen; anddisplaying, by the first terminal in response to the first input, thefirst screen comprising the first profile picture of the first user. 47.The method according to claim 46, wherein the first terminal saves atleast two profile pictures of the first user and scenario informationcorresponding to each profile picture of the at least two profilepictures, and the first profile picture is one of the at least twoprofile pictures.
 48. The method according to claim 46, wherein beforereceiving, by the first terminal, the first input, the method furthercomprises: displaying, by the first terminal, a second screen, whereinthe second screen comprises a profile picture selection option and atleast one scenario setting option of the first user, the profile pictureselection option is usable to select a target profile picture for thefirst user, and the at least one scenario setting option is usable toset scenario information corresponding to the target profile pictureselected for the first user; and in response to input of a usercorresponding to the profile picture selection option and the at leastone scenario setting option, saving, by the first terminal, the targetprofile picture selected for the first user and the scenario informationcorresponding to the target profile picture selected for the first user.49. The method according to claim 46, wherein: the first screen is avoice call screen usable by the first terminal to perform voicecommunication with a second terminal, and the first profile picture is aprofile picture of an owner of the second terminal; and afterdisplaying, by the first terminal in response to the first input, thefirst screen comprising the first profile picture, the method furthercomprises: receiving, by the first terminal, a second profile picture ofthe owner of the second terminal that is sent by the second terminal;and displaying, by the first terminal in response to receiving thesecond profile picture of the owner of the second terminal, the firstscreen comprising the second profile picture.
 50. The method accordingto claim 49, wherein displaying, by the first terminal in response toreceiving the second profile picture of the owner of the secondterminal, the first screen comprising the second profile picturecomprises: displaying, by the first terminal in response to receivingthe second profile picture, a third screen that comprises first promptinformation, wherein the first prompt information prompts whether to setthe second profile picture as the profile picture of the owner of thesecond terminal; and displaying, by the first terminal in response tosecond input corresponding to the first prompt information on the thirdscreen, the first screen comprising the second profile picture, whereinthe second input instructs the first terminal to change the firstprofile picture to the second profile picture.
 51. The method accordingto claim 46, wherein: the first screen is a voice call screen usable bythe first terminal to perform voice communication with a secondterminal, and the first profile picture comprises a profile picture ofan owner of the second terminal that performs voice communication withthe first terminal; and after displaying, by the first terminal inresponse to the first input, the first screen comprising the firstprofile picture, the method further comprises: sending, by the firstterminal, to the second terminal in response to third input on the firstscreen, a profile picture of the owner of the first terminal thatcorresponds to current scenario information of the owner of the firstterminal.
 52. The method according to claim 46, wherein: the firstscreen is a voice call screen usable by the first terminal to performvoice communication with a second terminal, the first profile picturecomprises a profile picture of an owner of the second terminal thatperforms voice communication with the first terminal; the currentscenario information of the first user comprises the current timeinformation or the current address information of the first user; andafter displaying, by the first terminal in response to the first input,the first screen comprising the first profile picture, the methodfurther comprises: sending, by the first terminal to the second terminalin response to third input on the first screen, a profile picture of theowner of the first terminal that corresponds to current scenarioinformation of the owner of the second terminal.
 53. The methodaccording to claim 46, wherein: the current scenario information of thefirst user comprises the current time information and the currentaddress information of the first user; the current time informationcomprises specific time information, day time information, month timeinformation, and year time information, the specific time informationcomprises a special date, a holiday, and a solar term, a priority of thespecific time information is D1, the day time information comprises aplurality of fixed periods of one day, a priority of the day timeinformation is D2, the month time information comprises a plurality offixed periods of one month, a priority of the month time information isD3, the year time information comprises each month and each quarter ofone year, a priority of the year time information is D4, andD1>D2>D3>D4; the current address information comprises at least twolevels of address range information, and priorities of the at least twolevels of address range information decrease in ascending order ofaddress ranges; and searching, by the first terminal in response to thefirst input, for a profile picture of the first user that corresponds tocurrent scenario information of the first user, to identify a firstprofile picture of the first user, comprises: in response to the firstinput, sequentially searching, by the first terminal in descending orderof priorities of the current time information and the current addressinformation, for the first profile picture of the first user thatcorresponds to the current scenario information, and displaying thefirst screen comprising the first profile picture after finding thefirst profile picture for a first time.
 54. The method according toclaim 53, wherein in response to the first input, sequentiallysearching, by the first terminal in descending order of the prioritiesof the current time information and the current address information, forthe first profile picture of the first user that corresponds to thecurrent scenario information, and displaying the first screen comprisingthe first profile picture after finding the first profile picture forthe first time comprises: in response to the first input, performing thefollowing: when a priority corresponding to the current time informationis higher than a priority corresponding to the current addressinformation, sequentially searching, by the first terminal in descendingorder of the priorities of the current time information, for the firstprofile picture of the first user that corresponds to the current timeinformation, and displaying the first screen comprising the firstprofile picture after finding the first profile picture for the firsttime; and when the priority corresponding to the current addressinformation is higher than the priority corresponding to the currenttime information, sequentially searching, by the first terminal indescending order of the priorities of the current address information,for the first profile picture of the first user that corresponds to thecurrent address information, and displaying the first screen comprisingthe first profile picture after finding the first profile picture forthe first time.
 55. The method according to claim 46, wherein the firstscreen is a voice call screen usable by the first terminal to performvoice communication with at least two second terminals, and the firstprofile picture is a profile picture of a preset owner in owners of theat least two second terminals.
 56. The method according to claim 46,wherein after displaying, by the first terminal in response to the firstinput, the first screen comprising the first profile picture, the methodfurther comprises: displaying, by the first terminal after detectingthat the current scenario information of the first user has changed, thefirst screen comprising a third profile picture, wherein the thirdprofile picture is of the first user and corresponds to changed scenarioinformation.
 57. The method according to claim 46, wherein: the firstscreen is a voice call screen usable by the first terminal to performvoice communication with a second terminal, and the first profilepicture is a profile picture of an owner of the second terminal; andafter displaying, by the first terminal in response to the first input,the first screen comprising the first profile picture, the methodfurther comprises: after detecting, by the first terminal, that thecurrent scenario information of the first user has changed, receiving,by the first terminal, a second profile picture of the owner of thesecond terminal that is sent by the second terminal; and displaying, bythe first terminal in response to receiving the second profile pictureof the owner of the second terminal, the first screen comprising thesecond profile picture.
 58. A terminal, configured to act as a firstterminal, the terminal comprising: an interface, configured to receivefirst input, wherein the first input instructs the first terminal todisplay a first screen that comprises a profile picture of a first user,and the first user is an owner of the first terminal or a contact savedon the first terminal; a processor; and a non-transitorycomputer-readable storage medium storing a program to be executed by theprocessor, the program including instructions for: search, in responseto the first input, for a profile picture of the first user thatcorresponds to current scenario information of the first user, toidentify a first profile picture of the first user, wherein the currentscenario information of the first user comprises current timeinformation, current address information, or current status informationof the first user, the current status information of the first usercomprises current motion information or current emotion information ofthe first user, and the first screen is a contact screen, an SMS messagescreen, or a voice call screen; and a display, configured to display thefirst screen in response to the first input, the first screen comprisingthe first profile picture of the first user.
 59. The terminal accordingto claim 58, wherein the first terminal saves at least two profilepictures of the first user and scenario information corresponding toeach profile picture of the at least two profile pictures, and the firstprofile picture is one of the at least two profile pictures.
 60. Theterminal according to claim 58, wherein: the display is furtherconfigured to display a second screen, wherein the second screencomprises a profile picture selection option and at least one scenariosetting option of the first user, the profile picture selection optionis usable to select a target profile picture for the first user, and theat least one scenario setting option is used to set scenario informationcorresponding to the target profile picture selected for the first user;and the program further includes instructions for: in response to theinterface receiving input corresponding to the profile picture selectionoption and the at least one scenario setting option, saving the targetprofile picture selected for the first user and the scenario informationcorresponding to the target profile picture selected for the first user.61. The terminal according to claim 58, wherein: the first screen is avoice call screen usable by the first terminal to perform voicecommunication with a second terminal, and the first profile picture is aprofile picture of an owner of the second terminal; and the programfurther includes instructions for: after the display displays, inresponse to the first input, the first screen comprising the firstprofile picture, receiving a second profile picture of the owner of thesecond terminal that is sent by the second terminal; and displaying,using the display and in response to receiving the second profilepicture of the owner of the second terminal, the first screen comprisingthe second profile picture.
 62. The terminal according to claim 61,wherein the instructions for displaying, using the display and inresponse to receiving the second profile picture of the owner of thesecond terminal, the first screen comprising the second profile picture,comprise instructions for: displaying, using the display and in responseto receiving the second profile picture, a third screen that comprisesfirst prompt information, wherein the first prompt information promptswhether to set the second profile picture as the profile picture of theowner of the second terminal; and displaying, using the display and inresponse to the interface receiving second input corresponding to thefirst prompt information on the third screen, the first screencomprising the second profile picture, wherein the second inputinstructs the first terminal to change the first profile picture to thesecond profile picture.
 63. The terminal according to claim 58, wherein:the first screen is a voice call screen usable by the first terminal toperform voice communication with a second terminal, and the firstprofile picture comprises a profile picture of an owner of the secondterminal that performs voice communication with the first terminal; andthe program further includes instructions for: after displaying, by thefirst terminal in response to the first input, the first screencomprising the first profile picture, sending, to the second terminal inresponse to third input on the first screen, a profile picture that isin the profile picture of the owner of the first terminal and thatcorresponds to current scenario information of the owner of the firstterminal.
 64. The terminal according to claim 58, wherein: the firstscreen is a voice call screen usable by the first terminal to performvoice communication with a second terminal, the first profile picturecomprises a profile picture of an owner of the second terminal thatperforms voice communication with the first terminal; the currentscenario information of the first user comprises the current timeinformation or the current address information of the first user; andthe program further includes instructions for: after the displaydisplays, in response to the first input, the first screen comprisingthe first profile picture, sending, to the second terminal in responseto third input on the first screen, a profile picture of the owner ofthe first terminal that corresponds to current scenario information ofthe owner of the second terminal.